diff options
-rw-r--r-- | converters/libiconv/Makefile | 6 | ||||
-rw-r--r-- | devel/gettext-lib/Makefile | 8 | ||||
-rw-r--r-- | devel/gmake/Makefile | 8 | ||||
-rw-r--r-- | devel/readline/Makefile | 6 | ||||
-rw-r--r-- | lang/tcl/Makefile | 9 | ||||
-rw-r--r-- | lang/tcl/distinfo | 6 | ||||
-rw-r--r-- | lang/tcl/patches/patch-ab | 395 | ||||
-rw-r--r-- | lang/tcl/patches/patch-ae | 24 | ||||
-rw-r--r-- | net/socks4/Makefile | 8 | ||||
-rw-r--r-- | net/socks5/Makefile | 6 | ||||
-rw-r--r-- | x11/tk/Makefile | 8 | ||||
-rw-r--r-- | x11/tk/distinfo | 4 | ||||
-rw-r--r-- | x11/tk/patches/patch-aa | 4 |
13 files changed, 92 insertions, 400 deletions
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile index 2dc8615ddb1..a29a787d524 100644 --- a/converters/libiconv/Makefile +++ b/converters/libiconv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2003/07/28 10:11:45 jmmv Exp $ +# $NetBSD: Makefile,v 1.22 2004/01/05 11:17:10 jlam Exp $ # DISTNAME= libiconv-1.9.1 @@ -10,7 +10,9 @@ MAINTAINER= rh@NetBSD.org HOMEPAGE= http://www.gnu.org/software/libiconv/ COMMENT= Character set conversion library -USE_BUILDLINK2= YES +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_BUILDLINK3= YES USE_PKGINSTALL= YES GNU_CONFIGURE= YES USE_LIBTOOL= YES diff --git a/devel/gettext-lib/Makefile b/devel/gettext-lib/Makefile index cd01a7ab69f..8e6004a61fd 100644 --- a/devel/gettext-lib/Makefile +++ b/devel/gettext-lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2003/09/25 03:00:57 danw Exp $ +# $NetBSD: Makefile,v 1.27 2004/01/05 11:17:10 jlam Exp $ # FreeBSD Id: Makefile,v 1.1.1.1 1998/08/09 15:13:33 kuriyama Exp # @@ -15,7 +15,9 @@ COMMENT= Tools for providing messages in different languages, libintl only CONFLICTS= gettext<=0.10.35 -USE_BUILDLINK2= # defined +PKG_INSTALLATION_TYPES= overview pkgviews + +USE_BUILDLINK3= # defined USE_LIBTOOL= # defined LIBTOOL_OVERRIDE= ${WRKSRC}/libtool @@ -37,5 +39,5 @@ BUILD_DIRS= ${WRKSRC}/intl CPPFLAGS+= -D_INTL_REDIRECT_MACROS=1 -DSTATIC=static .endif -.include "../../converters/libiconv/buildlink2.mk" +.include "../../converters/libiconv/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/gmake/Makefile b/devel/gmake/Makefile index 88df15ff56a..8d5b417c2b3 100644 --- a/devel/gmake/Makefile +++ b/devel/gmake/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.51 2003/08/09 10:44:42 seb Exp $ +# $NetBSD: Makefile,v 1.52 2004/01/05 11:18:13 jlam Exp $ DISTNAME= make-3.80 PKGNAME= gmake-3.80 @@ -10,7 +10,9 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://www.gnu.org/software/make/make.html COMMENT= GNU version of 'make' utility -USE_BUILDLINK2= YES +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_BUILDLINK3= YES GNU_CONFIGURE= YES USE_PKGLOCALEDIR= YES TEXINFO_REQD= 4.0 @@ -42,5 +44,5 @@ post-install: ${LN} -sf ${GNU_PROGRAM_PREFIX}make ${PREFIX}/bin/gmake .endif -.include "../../devel/gettext-lib/buildlink2.mk" +.include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/readline/Makefile b/devel/readline/Makefile index d7b3f13d43e..4e941766f2e 100644 --- a/devel/readline/Makefile +++ b/devel/readline/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2003/09/19 05:18:35 dent Exp $ +# $NetBSD: Makefile,v 1.29 2004/01/05 11:19:13 jlam Exp $ # DISTNAME= readline-4.3 @@ -14,7 +14,9 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html COMMENT= GNU library that can recall and edit previous input -USE_BUILDLINK2= # defined +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_BUILDLINK3= # defined GNU_CONFIGURE= # defined USE_LIBTOOL= # defined diff --git a/lang/tcl/Makefile b/lang/tcl/Makefile index 4552d14d980..a222f9fc05e 100644 --- a/lang/tcl/Makefile +++ b/lang/tcl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2003/10/08 03:13:21 jschauma Exp $ +# $NetBSD: Makefile,v 1.22 2004/01/05 11:22:13 jlam Exp $ # DISTNAME= tcl8.3.4 @@ -16,11 +16,13 @@ COMMENT= Ousterhout's Tool Command Language, a scripting language CONFLICTS+= tclman80-[0-9]* +PKG_INSTALLATION_TYPES= overwrite pkgviews + GNU_CONFIGURE= yes MAKE_ENV+= TOUCH="${TOUCH}" TEST_TARGET= test -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes USE_LIBTOOL= yes INSTALL_TARGET= install @@ -32,6 +34,9 @@ PLIST_SUBST+= SHLIB_SUFX="${SHLIB_SUFX}" # CONFIGURE_ARGS+= --mandir=${WRKDIR}/man +# Add ${VIEWBASE}/lib/tcl to the list of locations for Tcl packages. +CONFIGURE_ENV+= TCL_PACKAGE_PATH="${VIEWBASE}/lib/tcl" + .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Darwin" diff --git a/lang/tcl/distinfo b/lang/tcl/distinfo index 62bb026972c..8b182865b54 100644 --- a/lang/tcl/distinfo +++ b/lang/tcl/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.14 2003/10/08 03:13:21 jschauma Exp $ +$NetBSD: distinfo,v 1.15 2004/01/05 11:22:13 jlam Exp $ SHA1 (tcl8.3.4.tar.gz) = b179f1f51b322b7045cf152b73df4f3d01da82ec Size (tcl8.3.4.tar.gz) = 2654756 bytes SHA1 (patch-aa) = 3e9fa9427f40a4c6b1f97bcda58fefe9d5cf20ce -SHA1 (patch-ab) = c5c0092bdcb0f7d5d44a36b5c3e05af805987e5b +SHA1 (patch-ab) = 0350ffd17fe5e88d3e179b960d374248b41f9ad5 SHA1 (patch-ac) = d1e1b6ed334ff424140a678ed098504cc14614e8 -SHA1 (patch-ae) = a0237d220cf0f8475614497cabaae738621a7729 +SHA1 (patch-ae) = 5eee14adec88cf0cac5715fe0cfe7420b9b83774 SHA1 (patch-af) = e19764a58f5ddd6b5b62e785ae305069c535f865 diff --git a/lang/tcl/patches/patch-ab b/lang/tcl/patches/patch-ab index 4233613fa36..05be65aa30c 100644 --- a/lang/tcl/patches/patch-ab +++ b/lang/tcl/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.18 2003/10/08 03:13:21 jschauma Exp $ +$NetBSD: patch-ab,v 1.19 2004/01/05 11:22:13 jlam Exp $ ---- configure.orig Fri Oct 19 20:24:15 2001 -+++ configure Tue Oct 7 21:40:04 2003 -@@ -4776,6 +4776,7 @@ +--- configure.orig Fri Oct 19 17:24:15 2001 ++++ configure +@@ -4776,6 +4776,7 @@ fi # Step 3: set configuration options based on system name and version. do64bit_ok=no @@ -10,165 +10,7 @@ $NetBSD: patch-ab,v 1.18 2003/10/08 03:13:21 jschauma Exp $ EXTRA_CFLAGS="" TCL_EXPORT_FILE_SUFFIX="" UNSHARED_LIB_SUFFIX="" -@@ -4795,7 +4796,7 @@ - # Extract the first word of "ar", so it can be a program name with args. - set dummy ar; ac_word=$2 - echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 --echo "configure:4799: checking for $ac_word" >&5 -+echo "configure:4800: checking for $ac_word" >&5 - if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else -@@ -4900,7 +4901,7 @@ - # known GMT value. - - echo $ac_n "checking for gettimeofday in -lbsd""... $ac_c" 1>&6 --echo "configure:4904: checking for gettimeofday in -lbsd" >&5 -+echo "configure:4905: checking for gettimeofday in -lbsd" >&5 - ac_lib_var=`echo bsd'_'gettimeofday | sed 'y%./+-%__p_%'` - if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -@@ -4908,7 +4909,7 @@ - ac_save_LIBS="$LIBS" - LIBS="-lbsd $LIBS" - cat > conftest.$ac_ext <<EOF --#line 4912 "configure" -+#line 4913 "configure" - #include "confdefs.h" - /* Override any gcc2 internal prototype to avoid an error. */ - /* We use char because int might match the return type of a gcc2 -@@ -4919,7 +4920,7 @@ - gettimeofday() - ; return 0; } - EOF --if { (eval echo configure:4923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then -+if { (eval echo configure:4924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" - else -@@ -4981,7 +4982,7 @@ - HP-UX-*.11.*) - SHLIB_SUFFIX=".sl" - echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 --echo "configure:4985: checking for shl_load in -ldld" >&5 -+echo "configure:4986: checking for shl_load in -ldld" >&5 - ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` - if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -@@ -4989,7 +4990,7 @@ - ac_save_LIBS="$LIBS" - LIBS="-ldld $LIBS" - cat > conftest.$ac_ext <<EOF --#line 4993 "configure" -+#line 4994 "configure" - #include "confdefs.h" - /* Override any gcc2 internal prototype to avoid an error. */ - /* We use char because int might match the return type of a gcc2 -@@ -5000,7 +5001,7 @@ - shl_load() - ; return 0; } - EOF --if { (eval echo configure:5004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then -+if { (eval echo configure:5005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" - else -@@ -5043,7 +5044,7 @@ - HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) - SHLIB_SUFFIX=".sl" - echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 --echo "configure:5047: checking for shl_load in -ldld" >&5 -+echo "configure:5048: checking for shl_load in -ldld" >&5 - ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` - if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -@@ -5051,7 +5052,7 @@ - ac_save_LIBS="$LIBS" - LIBS="-ldld $LIBS" - cat > conftest.$ac_ext <<EOF --#line 5055 "configure" -+#line 5056 "configure" - #include "confdefs.h" - /* Override any gcc2 internal prototype to avoid an error. */ - /* We use char because int might match the return type of a gcc2 -@@ -5062,7 +5063,7 @@ - shl_load() - ; return 0; } - EOF --if { (eval echo configure:5066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then -+if { (eval echo configure:5067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" - else -@@ -5123,6 +5124,9 @@ - DL_OBJS="tclLoadDl.o" - DL_LIBS="" - LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' -+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' -+ TCL_LIB_VERSIONS_OK=nodots - if test "$GCC" = "yes" ; then - EXTRA_CFLAGS="-mabi=n32" - LDFLAGS="-mabi=n32" -@@ -5148,6 +5152,9 @@ - DL_LIBS="" - LDFLAGS="" - LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' -+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' -+ TCL_LIB_VERSIONS_OK=nodots - ;; - Linux*) - SHLIB_CFLAGS="-fPIC" -@@ -5166,20 +5173,23 @@ - DL_LIBS="-ldl" - LDFLAGS="-rdynamic" - LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' -+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' -+ TCL_LIB_VERSIONS_OK=nodots - else - ac_safe=`echo "dld.h" | sed 'y%./+-%__p_%'` - echo $ac_n "checking for dld.h""... $ac_c" 1>&6 --echo "configure:5173: checking for dld.h" >&5 -+echo "configure:5174: checking for dld.h" >&5 - if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - cat > conftest.$ac_ext <<EOF --#line 5178 "configure" -+#line 5179 "configure" - #include "confdefs.h" - #include <dld.h> - EOF - ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" --{ (eval echo configure:5183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -+{ (eval echo configure:5184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } - ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` - if test -z "$ac_err"; then - rm -rf conftest* -@@ -5236,17 +5246,17 @@ - else - ac_safe=`echo "dld.h" | sed 'y%./+-%__p_%'` - echo $ac_n "checking for dld.h""... $ac_c" 1>&6 --echo "configure:5240: checking for dld.h" >&5 -+echo "configure:5241: checking for dld.h" >&5 - if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - cat > conftest.$ac_ext <<EOF --#line 5245 "configure" -+#line 5246 "configure" - #include "confdefs.h" - #include <dld.h> - EOF - ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" --{ (eval echo configure:5250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -+{ (eval echo configure:5251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } - ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` - if test -z "$ac_err"; then - rm -rf conftest* -@@ -5298,20 +5308,23 @@ +@@ -5298,6 +5299,9 @@ fi LD_SEARCH_FLAGS="" ;; NetBSD-*|FreeBSD-[1-2].*|OpenBSD-*) @@ -178,24 +20,7 @@ $NetBSD: patch-ab,v 1.18 2003/10/08 03:13:21 jschauma Exp $ # Not available on all versions: check for include file. ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 --echo "configure:5305: checking for dlfcn.h" >&5 -+echo "configure:5309: checking for dlfcn.h" >&5 - if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - cat > conftest.$ac_ext <<EOF --#line 5310 "configure" -+#line 5314 "configure" - #include "confdefs.h" - #include <dlfcn.h> - EOF - ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" --{ (eval echo configure:5315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -+{ (eval echo configure:5319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } - ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` - if test -z "$ac_err"; then - rm -rf conftest* -@@ -5330,17 +5343,15 @@ +@@ -5330,17 +5334,15 @@ if eval "test \"`echo '$ac_cv_header_'$a # NetBSD/SPARC needs -fPIC, -fpic will not do. SHLIB_CFLAGS="-fPIC" @@ -215,12 +40,13 @@ $NetBSD: patch-ab,v 1.18 2003/10/08 03:13:21 jschauma Exp $ #include "confdefs.h" #ifdef __ELF__ -@@ -5351,11 +5362,20 @@ +@@ -5351,11 +5353,20 @@ EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then rm -rf conftest* +- echo "$ac_t""yes" 1>&6 + - echo "$ac_t""yes" 1>&6 ++ echo "$ac_t""yes" 1>&6 + SHLIB_LD='${TCL_CC} -shared -Wl,-x' + LD_SEARCH_FLAGS='-Wl,-R${LIB_RUNTIME_DIR}' + TCL_LIB_SPEC_RPATH="-Wl,-R${exec_prefix}/lib" @@ -228,34 +54,16 @@ $NetBSD: patch-ab,v 1.18 2003/10/08 03:13:21 jschauma Exp $ + else rm -rf conftest* +- echo "$ac_t""no" 1>&6 + - echo "$ac_t""no" 1>&6 ++ echo "$ac_t""no" 1>&6 + SHLIB_LD="ld -Bshareable -x" + LD_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}' + TCL_LIB_SPEC_RPATH="-R${exec_prefix}/lib" SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' fi -@@ -5401,7 +5421,7 @@ - Rhapsody-*|Darwin-*) - SHLIB_CFLAGS="-fno-common" - SHLIB_LD="cc -dynamiclib \${LDFLAGS}" -- TCL_SHLIB_LD_EXTRAS="-compatibility_version ${TCL_MAJOR_VERSION} -current_version \${VERSION} -install_name \${LIB_RUNTIME_DIR}/\${TCL_LIB_FILE} -prebind -seg1addr a000000" -+ TCL_SHLIB_LD_EXTRAS="-compatibility_version ${TCL_MAJOR_VERSION} -current_version \${VERSION} -install_name \${LIB_RUNTIME_DIR}/\${TCL_LIB_FILE} -prebind -seg1addr a000000 -dynamiclib" - SHLIB_LD_LIBS="${LIBS}" - SHLIB_SUFFIX=".dylib" - DL_OBJS="tclLoadDyld.o" -@@ -5410,6 +5430,9 @@ - LD_SEARCH_FLAGS="" - CFLAGS_OPTIMIZE="-O3" - EXTRA_CFLAGS="-arch ppc -pipe" -+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' -+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}\$\{SHLIB_SUFFIX\}' -+ TCL_LIB_VERSIONS_OK=nodots - ;; - NEXTSTEP-*) - SHLIB_CFLAGS="" -@@ -5569,6 +5592,9 @@ +@@ -5569,6 +5580,9 @@ EOF DL_LIBS="-ldl" LDFLAGS="" LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' @@ -265,7 +73,7 @@ $NetBSD: patch-ab,v 1.18 2003/10/08 03:13:21 jschauma Exp $ ;; SunOS-5*) -@@ -5616,6 +5642,9 @@ +@@ -5616,6 +5630,9 @@ EOF else LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' fi @@ -275,160 +83,7 @@ $NetBSD: patch-ab,v 1.18 2003/10/08 03:13:21 jschauma Exp $ ;; ULTRIX-4.*) SHLIB_CFLAGS="-G 0" -@@ -5641,17 +5670,17 @@ - # that don't grok the -Bexport option. Test that it does. - hold_ldflags=$LDFLAGS - echo $ac_n "checking for ld accepts -Bexport flag""... $ac_c" 1>&6 --echo "configure:5645: checking for ld accepts -Bexport flag" >&5 -+echo "configure:5662: checking for ld accepts -Bexport flag" >&5 - LDFLAGS="${LDFLAGS} -Wl,-Bexport" - cat > conftest.$ac_ext <<EOF --#line 5648 "configure" -+#line 5665 "configure" - #include "confdefs.h" - - int main() { - int i; - ; return 0; } - EOF --if { (eval echo configure:5655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then -+if { (eval echo configure:5672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - found=yes - else -@@ -5697,9 +5726,9 @@ - - if test "x$DL_OBJS" = "xtclLoadAout.o" ; then - echo $ac_n "checking sys/exec.h""... $ac_c" 1>&6 --echo "configure:5701: checking sys/exec.h" >&5 -+echo "configure:5718: checking sys/exec.h" >&5 - cat > conftest.$ac_ext <<EOF --#line 5703 "configure" -+#line 5720 "configure" - #include "confdefs.h" - #include <sys/exec.h> - int main() { -@@ -5717,7 +5746,7 @@ - - ; return 0; } - EOF --if { (eval echo configure:5721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then -+if { (eval echo configure:5738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - tcl_ok=usable - else -@@ -5735,9 +5764,9 @@ - - else - echo $ac_n "checking a.out.h""... $ac_c" 1>&6 --echo "configure:5739: checking a.out.h" >&5 -+echo "configure:5756: checking a.out.h" >&5 - cat > conftest.$ac_ext <<EOF --#line 5741 "configure" -+#line 5758 "configure" - #include "confdefs.h" - #include <a.out.h> - int main() { -@@ -5755,7 +5784,7 @@ - - ; return 0; } - EOF --if { (eval echo configure:5759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then -+if { (eval echo configure:5776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - tcl_ok=usable - else -@@ -5773,9 +5802,9 @@ - - else - echo $ac_n "checking sys/exec_aout.h""... $ac_c" 1>&6 --echo "configure:5777: checking sys/exec_aout.h" >&5 -+echo "configure:5794: checking sys/exec_aout.h" >&5 - cat > conftest.$ac_ext <<EOF --#line 5779 "configure" -+#line 5796 "configure" - #include "confdefs.h" - #include <sys/exec_aout.h> - int main() { -@@ -5793,7 +5822,7 @@ - - ; return 0; } - EOF --if { (eval echo configure:5797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then -+if { (eval echo configure:5814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - tcl_ok=usable - else -@@ -5890,7 +5919,7 @@ - - - echo $ac_n "checking for build with symbols""... $ac_c" 1>&6 --echo "configure:5894: checking for build with symbols" >&5 -+echo "configure:5911: checking for build with symbols" >&5 - # Check whether --enable-symbols or --disable-symbols was given. - if test "${enable_symbols+set}" = set; then - enableval="$enable_symbols" -@@ -5927,17 +5956,17 @@ - do - ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` - echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 --echo "configure:5931: checking for $ac_hdr" >&5 -+echo "configure:5948: checking for $ac_hdr" >&5 - if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - cat > conftest.$ac_ext <<EOF --#line 5936 "configure" -+#line 5953 "configure" - #include "confdefs.h" - #include <$ac_hdr> - EOF - ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" --{ (eval echo configure:5941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -+{ (eval echo configure:5958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } - ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` - if test -z "$ac_err"; then - rm -rf conftest* -@@ -5967,17 +5996,17 @@ - do - ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` - echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 --echo "configure:5971: checking for $ac_hdr" >&5 -+echo "configure:5988: checking for $ac_hdr" >&5 - if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - cat > conftest.$ac_ext <<EOF --#line 5976 "configure" -+#line 5993 "configure" - #include "confdefs.h" - #include <$ac_hdr> - EOF - ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" --{ (eval echo configure:5981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -+{ (eval echo configure:5998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } - ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` - if test -z "$ac_err"; then - rm -rf conftest* -@@ -6004,7 +6033,7 @@ - done - - echo $ac_n "checking FIONBIO vs. O_NONBLOCK for nonblocking I/O""... $ac_c" 1>&6 --echo "configure:6008: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 -+echo "configure:6025: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 - if test -f /usr/lib/NextStep/software_version; then - system=NEXTSTEP-`awk '/3/,/3/' /usr/lib/NextStep/software_version` - else -@@ -6066,7 +6095,7 @@ - - - echo $ac_n "checking how to build libraries""... $ac_c" 1>&6 --echo "configure:6070: checking how to build libraries" >&5 -+echo "configure:6087: checking how to build libraries" >&5 - # Check whether --enable-shared or --disable-shared was given. - if test "${enable_shared+set}" = set; then - enableval="$enable_shared" -@@ -6103,7 +6132,7 @@ +@@ -6103,7 +6120,7 @@ if test "${SHARED_BUILD}" = "1" -a "${SH if test "x$DL_OBJS" = "xtclLoadAout.o"; then MAKE_LIB="\${STLIB_LD} \$@ \${OBJS}" else @@ -437,7 +92,7 @@ $NetBSD: patch-ab,v 1.18 2003/10/08 03:13:21 jschauma Exp $ fi else case $system in -@@ -6141,7 +6170,7 @@ +@@ -6141,7 +6158,7 @@ if test "$SHARED_BUILD" = "0" -o $TCL_NE TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`\${TCL_DBGX}" fi TCL_BUILD_LIB_SPEC="-L`pwd` ${TCL_LIB_FLAG}" @@ -446,19 +101,27 @@ $NetBSD: patch-ab,v 1.18 2003/10/08 03:13:21 jschauma Exp $ else TCL_BUILD_EXP_FILE="lib.exp" eval "TCL_EXP_FILE=libtcl${TCL_EXPORT_FILE_SUFFIX}" -@@ -6171,9 +6200,9 @@ +@@ -6171,10 +6188,17 @@ VERSION=${TCL_VERSION} #-------------------------------------------------------------------- if test "$prefix" != "$exec_prefix"; then - TCL_PACKAGE_PATH="${exec_prefix}/lib ${prefix}/lib" -+ TCL_PACKAGE_PATH="${exec_prefix}/lib/tcl ${prefix}/lib" ++ TCL_PACKAGE_PATH_ADD="${exec_prefix}/lib/tcl ${prefix}/lib" else - TCL_PACKAGE_PATH="${prefix}/lib" -+ TCL_PACKAGE_PATH="${prefix}/lib/tcl" ++ TCL_PACKAGE_PATH_ADD="${prefix}/lib/tcl" fi ++for dir in ${TCL_PACKAGE_PATH_ADD}; do ++ if test -z "${TCL_PACKAGE_PATH}"; then ++ TCL_PACKAGE_PATH="$dir" ++ else ++ TCL_PACKAGE_PATH="${TCL_PACKAGE_PATH} $dir" ++ fi ++done #-------------------------------------------------------------------- -@@ -6186,7 +6215,7 @@ + # The statements below define various symbols relating to Tcl +@@ -6186,7 +6210,7 @@ eval "TCL_STUB_LIB_FILE=libtclstub${TCL_ # Replace DBGX with TCL_DBGX eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\"" @@ -467,7 +130,7 @@ $NetBSD: patch-ab,v 1.18 2003/10/08 03:13:21 jschauma Exp $ if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then TCL_STUB_LIB_FLAG="-ltclstub${TCL_VERSION}\${TCL_DBGX}" -@@ -6262,6 +6291,8 @@ +@@ -6262,6 +6286,8 @@ TCL_SHARED_BUILD=${SHARED_BUILD} @@ -476,7 +139,7 @@ $NetBSD: patch-ab,v 1.18 2003/10/08 03:13:21 jschauma Exp $ trap '' 1 2 15 cat > confcache <<\EOF # This file is a shell script that caches the results of configure -@@ -6437,12 +6468,12 @@ +@@ -6437,12 +6463,12 @@ s%@TCL_DBGX@%$TCL_DBGX%g s%@CFG_TCL_SHARED_LIB_SUFFIX@%$CFG_TCL_SHARED_LIB_SUFFIX%g s%@CFG_TCL_UNSHARED_LIB_SUFFIX@%$CFG_TCL_UNSHARED_LIB_SUFFIX%g s%@CFG_TCL_EXPORT_FILE_SUFFIX@%$CFG_TCL_EXPORT_FILE_SUFFIX%g diff --git a/lang/tcl/patches/patch-ae b/lang/tcl/patches/patch-ae index 3d3e64a5814..64665e13b0c 100644 --- a/lang/tcl/patches/patch-ae +++ b/lang/tcl/patches/patch-ae @@ -1,7 +1,7 @@ -$NetBSD: patch-ae,v 1.2 2001/12/23 17:02:31 bjoern Exp $ +$NetBSD: patch-ae,v 1.3 2004/01/05 11:22:13 jlam Exp $ ---- configure.in.orig Sat Oct 20 02:24:15 2001 -+++ configure.in +--- configure.in.orig Fri Oct 19 17:24:15 2001 ++++ configure.in Tue Nov 25 05:16:06 2003 @@ -386,7 +386,7 @@ if test "x$DL_OBJS" = "xtclLoadAout.o"; then MAKE_LIB="\${STLIB_LD} \[$]@ \${OBJS}" @@ -20,19 +20,27 @@ $NetBSD: patch-ae,v 1.2 2001/12/23 17:02:31 bjoern Exp $ else TCL_BUILD_EXP_FILE="lib.exp" eval "TCL_EXP_FILE=libtcl${TCL_EXPORT_FILE_SUFFIX}" -@@ -454,9 +454,9 @@ +@@ -454,10 +454,17 @@ #-------------------------------------------------------------------- if test "$prefix" != "$exec_prefix"; then - TCL_PACKAGE_PATH="${exec_prefix}/lib ${prefix}/lib" -+ TCL_PACKAGE_PATH="${exec_prefix}/lib/tcl ${prefix}/lib" ++ TCL_PACKAGE_PATH_ADD="${exec_prefix}/lib/tcl ${prefix}/lib" else - TCL_PACKAGE_PATH="${prefix}/lib" -+ TCL_PACKAGE_PATH="${prefix}/lib/tcl" ++ TCL_PACKAGE_PATH_ADD="${prefix}/lib/tcl" fi ++for dir in ${TCL_PACKAGE_PATH_ADD}; do ++ if test -z "${TCL_PACKAGE_PATH}"; then ++ TCL_PACKAGE_PATH="$dir" ++ else ++ TCL_PACKAGE_PATH="${TCL_PACKAGE_PATH} $dir" ++ fi ++done #-------------------------------------------------------------------- -@@ -469,7 +469,7 @@ + # The statements below define various symbols relating to Tcl +@@ -469,7 +476,7 @@ # Replace DBGX with TCL_DBGX eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\"" @@ -41,7 +49,7 @@ $NetBSD: patch-ae,v 1.2 2001/12/23 17:02:31 bjoern Exp $ if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then TCL_STUB_LIB_FLAG="-ltclstub${TCL_VERSION}\${TCL_DBGX}" -@@ -511,6 +511,8 @@ +@@ -511,6 +518,8 @@ AC_SUBST(CFG_TCL_EXPORT_FILE_SUFFIX) AC_SUBST(CFLAGS) diff --git a/net/socks4/Makefile b/net/socks4/Makefile index 60deec48006..eae1644797d 100644 --- a/net/socks4/Makefile +++ b/net/socks4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2003/07/17 22:51:52 grant Exp $ +# $NetBSD: Makefile,v 1.17 2004/01/05 11:20:17 jlam Exp $ # DISTNAME= export.socks.cstc.4.2.2 @@ -18,13 +18,17 @@ RESTRICTED= "no commercial use" NO_SRC_ON_CDROM= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} -USE_BUILDLINK2= # defined +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_BUILDLINK3= yes USE_PKGINSTALL= yes MAKE_ENV+= OPTIMIZE="${CFLAGS}" EGDIR= ${PREFIX}/share/examples/socks4 CONF_FILES= ${EGDIR}/socks.conf ${PKG_SYSCONFDIR}/socks.conf +INSTALLATION_DIRS= bin lib libexec man/man1 man/man5 man/man8 + post-patch: @cd ${WRKSRC}; \ ${SED} -e "s|@PREFIX@|${PREFIX}|g" \ diff --git a/net/socks5/Makefile b/net/socks5/Makefile index 05c563ee97a..604dbdaf9a1 100644 --- a/net/socks5/Makefile +++ b/net/socks5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2003/12/19 12:25:02 agc Exp $ +# $NetBSD: Makefile,v 1.31 2004/01/05 11:20:18 jlam Exp $ # FreeBSD Id: Makefile,v 1.14 1997/08/28 06:49:06 obrien Exp # @@ -28,7 +28,9 @@ NO_BIN_ON_CDROM= ${RESTRICTED} # --with-syslog-facility=LOG_AUTH \ # --with-passwd -USE_BUILDLINK2= yes +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_BUILDLINK3= yes USE_PKGINSTALL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libconffile=${PREFIX}/etc/libsocks5.conf \ diff --git a/x11/tk/Makefile b/x11/tk/Makefile index 6a32ae72c42..65521e60939 100644 --- a/x11/tk/Makefile +++ b/x11/tk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2003/07/17 22:56:46 grant Exp $ +# $NetBSD: Makefile,v 1.24 2004/01/05 11:24:18 jlam Exp $ DISTNAME= tk8.3.4 PKGNAME= tk-8.3.4 @@ -11,13 +11,15 @@ MAINTAINER= jwise@NetBSD.org HOMEPAGE= http://www.tcltk.com/ COMMENT= Graphical toolkit for TCL +PKG_INSTALLATION_TYPES= overwrite pkgviews + GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib MAKE_ENV+= TOUCH="${TOUCH}" USE_X11= yes USE_LIBTOOL= yes -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes TEST_TARGET= test # Initially install the man pages into ${WRKDIR}/man, as we need a staged @@ -84,5 +86,5 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/../unix/tkUnixInt.h ${PREFIX}/include/tk/unix ${INSTALL_DATA} ${WRKSRC}/../unix/tkUnixPort.h ${PREFIX}/include/tk/unix -.include "../../lang/tcl/buildlink2.mk" +.include "../../lang/tcl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/x11/tk/distinfo b/x11/tk/distinfo index 5c2643216ee..a4666c37057 100644 --- a/x11/tk/distinfo +++ b/x11/tk/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.10 2003/03/16 18:37:43 jschauma Exp $ +$NetBSD: distinfo,v 1.11 2004/01/05 11:24:18 jlam Exp $ SHA1 (tk8.3.4.tar.gz) = d52bf5cedb73e9b817ba8d6a2b00701f4f82fad2 Size (tk8.3.4.tar.gz) = 2589635 bytes -SHA1 (patch-aa) = 49fe346ebad9b4ded0f0c64727cea3cf22655678 +SHA1 (patch-aa) = 213c82956f692cc493215e222c08da76cf18841e SHA1 (patch-ab) = b99c7a48dc525a45305ad6265735de56df4b5d9c SHA1 (patch-ac) = 172762efa65eb05345d70cf38893bc96b56a2481 SHA1 (patch-ad) = 1815fc19986674cb2ea03a8d60cd1514ff47fba9 diff --git a/x11/tk/patches/patch-aa b/x11/tk/patches/patch-aa index 7f0704cebd2..0884684df04 100644 --- a/x11/tk/patches/patch-aa +++ b/x11/tk/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.7 2001/12/23 17:11:30 bjoern Exp $ +$NetBSD: patch-aa,v 1.8 2004/01/05 11:24:18 jlam Exp $ --- Makefile.in.orig Sat Oct 20 02:24:40 2001 +++ Makefile.in @@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.7 2001/12/23 17:11:30 bjoern Exp $ # for this version of Tk ("srcdir" will be replaced or has already # been replaced by the configure script): -TCL_GENERIC_DIR = @TCL_SRC_DIR@/generic -+TCL_GENERIC_DIR = ${BUILDLINK_DIR}/include/tcl/generic ++TCL_GENERIC_DIR = $(TCL_BIN_DIR)/../include/tcl/generic # The directory containing the Tcl library archive file appropriate # for this version of Tk: |