]> git.pld-linux.org Git - packages/tk.git/commitdiff
- release 3, tk-8_0_5-3
authorkloczek <kloczek@pld-linux.org>
Wed, 28 Jul 1999 16:30:41 +0000 (16:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added using %%configure macro.

Changed files:
    tk.spec -> 1.22

tk.spec

diff --git a/tk.spec b/tk.spec
index 659e13fe3e1e23100f75c7d22d695d11a358392b..f9c09ae2519c8d411c1ae56a5ffa382e15c99982 100644 (file)
--- a/tk.spec
+++ b/tk.spec
@@ -6,7 +6,7 @@ Summary(tr):    Tk, TCL i
 Group:         Development/Languages/Tcl
 Name:          tk
 Version:       8.0.5
-Release:       2
+Release:       3
 Copyright:     BSD
 Group:         Development/Languages/Tcl
 Group(pl):     Programowanie/Jêzyki/Tcl
@@ -88,12 +88,13 @@ Narz
 %build
 cd unix
 autoconf
-TCL_BIN_DIR=%{_libdir} \
-LDFLAGS="-s" \
-./configure %{_target_platform} \
-       --prefix=%{_prefix} \
+TCL_BIN_DIR=%{_libdir}
+LDFLAGS="-s"
+export TCL_BIN_DIR LDFLAGS
+%configure \
        --enable-shared \
        --enable-gcc
+
 make CFLAGS_OPTIMIZE="$RPM_OPT_FLAGS -D_REENTRANT"
 
 sed -e "s#%{_builddir}/%{name}%{version}/unix#/usr/lib#; \
This page took 0.034723 seconds and 4 git commands to generate.