summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2004-02-14 15:29:15 +0000
committerjlam <jlam>2004-02-14 15:29:15 +0000
commitfa5bd95d2ad65942eecffff3a1d57457cf9d782f (patch)
tree08b9b925dd2aec2f5c85c45b0bc69810e603367e
parent92308a1209af17742d110b3488baea113a6f2931 (diff)
downloadpkgsrc-fa5bd95d2ad65942eecffff3a1d57457cf9d782f.tar.gz
CONFIG_{GUESS,SUB}_OVERRIDE are now relative to ${WRKSRC} and will
automatically substitute for any config.{guess,sub} files found up to a directory depth of 2.
-rw-r--r--archivers/arj/Makefile4
-rw-r--r--benchmarks/benchfft/Makefile7
-rw-r--r--databases/db3/Makefile6
-rw-r--r--devel/libslang/Makefile5
-rw-r--r--devel/libtool/Makefile.common9
-rw-r--r--devel/mit-pthreads/Makefile5
-rw-r--r--devel/papaya/Makefile4
-rw-r--r--devel/unproven-pthreads/Makefile5
-rw-r--r--editors/ce/Makefile.common4
-rw-r--r--net/ORBit/Makefile10
-rw-r--r--net/xorp/Makefile11
-rw-r--r--print/teTeX1-bin/Makefile10
-rw-r--r--sysutils/amanda-common/Makefile.common4
13 files changed, 20 insertions, 64 deletions
diff --git a/archivers/arj/Makefile b/archivers/arj/Makefile
index a841d58d071..1a3c90fe760 100644
--- a/archivers/arj/Makefile
+++ b/archivers/arj/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/01/22 07:18:43 grant Exp $
+# $NetBSD: Makefile,v 1.6 2004/02/14 15:29:15 jlam Exp $
# FreeBSD Id: ports/archivers/arj/Makefile,v 1.2 2002/09/17 05:17:29 ijliao Exp
DISTNAME= arj-3.10b
@@ -12,8 +12,6 @@ COMMENT= Open-source ARJ
USE_GNU_TOOLS+= make
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ${WRKSRC}/gnu/configure
-CONFIG_GUESS_OVERRIDE= ${WRKSRC}/gnu/config.guess
-CONFIG_SUB_OVERRIDE= ${WRKSRC}/gnu/config.sub
MAKEFILE= makefile.gnu
ARJ_DOCSDIR= ${PREFIX}/share/doc/arj
diff --git a/benchmarks/benchfft/Makefile b/benchmarks/benchfft/Makefile
index 8f90fead61b..40802c04e07 100644
--- a/benchmarks/benchfft/Makefile
+++ b/benchmarks/benchfft/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2004/01/22 07:19:25 grant Exp $
+# $NetBSD: Makefile,v 1.17 2004/02/14 15:29:15 jlam Exp $
DISTNAME= benchfft-2.0
CATEGORIES= benchmarks math
@@ -17,9 +17,8 @@ USE_FORTRAN= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKDIR}/fftw-2.0.1/ltconfig
-CONFIG_GUESS_OVERRIDE= ${WRKSRC}/config.guess
-CONFIG_GUESS_OVERRIDE+= ${WRKDIR}/fftw-2.0.1/config.guess
-CONFIG_SUB_OVERRIDE= ${WRKSRC}/config.sub ${WRKDIR}/fftw-2.0.1/config.sub
+CONFIG_GUESS_OVERRIDE= config.guess ../fftw-*/config.guess
+CONFIG_SUB_OVERRIDE= config.sub ../fftw-*/config.sub
pre-configure:
CONFIGURE_DIRS=${WRKDIR}/fftw-2.0.1 ${MAKE} ${MAKEFLAGS} do-configure
diff --git a/databases/db3/Makefile b/databases/db3/Makefile
index eab22ea6cbb..a10baba8786 100644
--- a/databases/db3/Makefile
+++ b/databases/db3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2004/02/11 01:46:30 abs Exp $
+# $NetBSD: Makefile,v 1.24 2004/02/14 15:29:15 jlam Exp $
DISTNAME= db-3.3.11
PKGNAME= db3-3.11.2
@@ -24,8 +24,8 @@ LIBTOOL_OVERRIDE= ${WRKDIR}/${DISTNAME}/build_unix/libtool
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../dist/configure
-CONFIG_SUB_OVERRIDE+= ${WRKDIR}/${DISTNAME}/dist/config.sub
-CONFIG_GUESS_OVERRIDE+= ${WRKDIR}/${DISTNAME}/dist/config.guess
+CONFIG_SUB_OVERRIDE+= ../dist/config.sub
+CONFIG_GUESS_OVERRIDE+= ../dist/config.guess
CONFIGURE_ARGS+= --program-transform-name=s,db_,db3_,
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/db3
diff --git a/devel/libslang/Makefile b/devel/libslang/Makefile
index 9ec7936ed96..0b19713f829 100644
--- a/devel/libslang/Makefile
+++ b/devel/libslang/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2004/01/22 08:24:30 grant Exp $
+# $NetBSD: Makefile,v 1.49 2004/02/14 15:29:15 jlam Exp $
#
DISTNAME= slang-1.4.9
@@ -24,9 +24,6 @@ USE_GNU_TOOLS+= make
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
-CONFIG_GUESS_OVERRIDE= ${WRKSRC}/autoconf/config.guess
-CONFIG_SUB_OVERRIDE= ${WRKSRC}/autoconf/config.sub
-
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/slang
${MV} ${PREFIX}/share/doc/slang/slangdoc.html \
diff --git a/devel/libtool/Makefile.common b/devel/libtool/Makefile.common
index b98a8736ed3..ac6f7e65372 100644
--- a/devel/libtool/Makefile.common
+++ b/devel/libtool/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.44 2004/02/08 11:21:58 skrll Exp $
+# $NetBSD: Makefile.common,v 1.45 2004/02/14 15:29:15 jlam Exp $
#
DISTNAME= libtool-1.5.2
@@ -20,11 +20,4 @@ DISTINFO_FILE= ${.CURDIR}/../libtool/distinfo
FILESDIR= ${.CURDIR}/../libtool/files
PATCHDIR= ${.CURDIR}/../libtool/patches
-CONFIG_GUESS_OVERRIDE= \
- ${WRKSRC}/config.guess \
- ${WRKSRC}/libltdl/config.guess
-
-CONFIG_SUB_OVERRIDE= \
- ${WRKSRC}/config.sub \
- ${WRKSRC}/libltdl/config.sub
AUTOMAKE_OVERRIDE= NO
diff --git a/devel/mit-pthreads/Makefile b/devel/mit-pthreads/Makefile
index 7216c73e1cf..2ddc197b1b3 100644
--- a/devel/mit-pthreads/Makefile
+++ b/devel/mit-pthreads/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2004/01/27 00:53:12 heinz Exp $
+# $NetBSD: Makefile,v 1.40 2004/02/14 15:29:15 jlam Exp $
#
DISTNAME= pthreads-1_60_beta6
@@ -21,9 +21,6 @@ MAKE_ENV+= NOLINT=1 NOPROFILE=1 OBJECT_FMT=${OBJECT_FMT}
PATCH_FUZZ_FACTOR= # empty
-CONFIG_GUESS_OVERRIDE= ${WRKSRC}/config/config.guess
-CONFIG_SUB_OVERRIDE= ${WRKSRC}/config/config.sub
-
post-patch:
@${RM} ${WRKSRC}/include/endian.h
@${RM} ${WRKSRC}/include/math.h
diff --git a/devel/papaya/Makefile b/devel/papaya/Makefile
index dd4281d6504..124e51904aa 100644
--- a/devel/papaya/Makefile
+++ b/devel/papaya/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/10/28 23:22:54 kristerw Exp $
+# $NetBSD: Makefile,v 1.7 2004/02/14 15:29:15 jlam Exp $
#
DISTNAME= papaya-0.1.7
@@ -13,8 +13,6 @@ COMMENT= Simple scripts for software development
USE_PERL5= run
USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
-CONFIG_GUESS_OVERRIDE= ${WRKSRC}/misc/config.guess
-CONFIG_SUB_OVERRIDE= ${WRKSRC}/misc/config.sub
INFO_FILES= papaya.info
pre-configure:
diff --git a/devel/unproven-pthreads/Makefile b/devel/unproven-pthreads/Makefile
index 8ef53291b56..cdab0cfe8be 100644
--- a/devel/unproven-pthreads/Makefile
+++ b/devel/unproven-pthreads/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2004/01/27 00:53:12 heinz Exp $
+# $NetBSD: Makefile,v 1.40 2004/02/14 15:29:15 jlam Exp $
#
DISTNAME= unproven-pthreads-0.17
@@ -19,9 +19,6 @@ GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${PREFIX}/pthreads
MAKE_ENV+= NOLINT=1 NOPROFILE=1 OBJECT_FMT=${OBJECT_FMT} USETOOLS=no
-CONFIG_GUESS_OVERRIDE= ${WRKSRC}/config/config.guess
-CONFIG_SUB_OVERRIDE= ${WRKSRC}/config/config.sub
-
# Remove environment variables with special meaning from the shell
# environment before executing ${MAKE_PROGRAM} in the do-configure,
# do-build and do-install targets.
diff --git a/editors/ce/Makefile.common b/editors/ce/Makefile.common
index b1c390fe608..99dc74c5561 100644
--- a/editors/ce/Makefile.common
+++ b/editors/ce/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2003/07/17 21:34:21 grant Exp $
+# $NetBSD: Makefile.common,v 1.4 2004/02/14 15:29:15 jlam Exp $
#
DISTNAME= ce-${VERSION}
@@ -15,8 +15,6 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --libdir=${PREFIX}/share/doc
CONFIGURE_ARGS+= --without-ce-malloc
CONFIGURE_ARGS+= --with-curses
-CONFIG_GUESS_OVERRIDE= ${WRKSRC}/support/config.guess
-CONFIG_SUB_OVERRIDE= ${WRKSRC}/support/config.sub
PATCHDIR= ${.CURDIR}/../ce/patches
DISTINFO_FILE= ${.CURDIR}/../ce/distinfo
diff --git a/net/ORBit/Makefile b/net/ORBit/Makefile
index 2b33d87d9cd..e3e679894f4 100644
--- a/net/ORBit/Makefile
+++ b/net/ORBit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.100 2004/01/31 11:36:23 sekiya Exp $
+# $NetBSD: Makefile,v 1.101 2004/02/14 15:29:15 jlam Exp $
#
DISTNAME= ORBit-0.${ORBIT_MAJOR}.${ORBIT_MINOR}
@@ -25,14 +25,6 @@ LIBTOOL_OVERRIDE+= ${WRKSRC}/libtool
LIBTOOL_OVERRIDE+= ${WRKSRC}/popt/libtool
LIBTOOL_OVERRIDE+= ${WRKSRC}/libIDL/libtool
-CONFIG_GUESS_OVERRIDE+= ${WRKSRC}/config.guess
-CONFIG_GUESS_OVERRIDE+= ${WRKSRC}/libIDL/config.guess
-CONFIG_GUESS_OVERRIDE+= ${WRKSRC}/popt/config.guess
-
-CONFIG_SUB_OVERRIDE+= ${WRKSRC}/config.sub
-CONFIG_SUB_OVERRIDE+= ${WRKSRC}/libIDL/config.sub
-CONFIG_SUB_OVERRIDE+= ${WRKSRC}/popt/config.sub
-
GNU_CONFIGURE= YES
CONFIGURE_ENV+= LIBWRAP_PATH=${BUILDLINK_PREFIX.tcp_wrappers}/lib/libwrap.a
CONFIGURE_ENV+= LIB_WRAP="-lwrap"
diff --git a/net/xorp/Makefile b/net/xorp/Makefile
index dcf2845cb62..52a7de151d7 100644
--- a/net/xorp/Makefile
+++ b/net/xorp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/01/24 14:50:06 grant Exp $
+# $NetBSD: Makefile,v 1.7 2004/02/14 15:29:15 jlam Exp $
#
DISTNAME= xorp-0.3
@@ -12,11 +12,8 @@ COMMENT= Open router software platform
# cli/libtecla/configure.in bombs if ncurses is installed
CONFLICTS+= ncurses-[0-9]*
-HAS_CONFIGURE= YES
-GNU_CONFIGURE= YES
-USE_GNU_TOOLS+= make
-CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR}
-CONFIG_GUESS_OVERRIDE= ${WRKSRC}/cli/libtecla/config.guess
-CONFIG_SUB_OVERRIDE= ${WRKSRC}/cli/libtecla/config.sub
+GNU_CONFIGURE= YES
+USE_GNU_TOOLS+= make
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
.include "../../mk/bsd.pkg.mk"
diff --git a/print/teTeX1-bin/Makefile b/print/teTeX1-bin/Makefile
index 32022b529c9..87fed981f24 100644
--- a/print/teTeX1-bin/Makefile
+++ b/print/teTeX1-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/01/24 14:58:00 grant Exp $
+# $NetBSD: Makefile,v 1.5 2004/02/14 15:29:15 jlam Exp $
DISTNAME= teTeX-src-1.0.7
PKGNAME= teTeX-bin-1.0.7
@@ -34,14 +34,6 @@ INFO_FILES= latex.info dvips.info web2c.info kpathsea.info
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
GNU_CONFIGURE= yes
-CONFIG_GUESS_OVERRIDE= ${WRKSRC}/texk/config.guess
-CONFIG_GUESS_OVERRIDE+= ${WRKSRC}/config/config.guess
-CONFIG_GUESS_OVERRIDE+= ${WRKSRC}/libs/ncurses/config.guess
-CONFIG_GUESS_OVERRIDE+= ${WRKSRC}/texinfo/config.guess
-CONFIG_SUB_OVERRIDE= ${WRKSRC}/texk/config.sub
-CONFIG_SUB_OVERRIDE+= ${WRKSRC}/config/config.sub
-CONFIG_SUB_OVERRIDE+= ${WRKSRC}/libs/ncurses/config.sub
-CONFIG_SUB_OVERRIDE+= ${WRKSRC}/texinfo/config.sub
CONFIGURE_ARGS+= --without-texinfo
CONFIGURE_ARGS+= --without-dialog
CONFIGURE_ARGS+= --disable-multiplatform
diff --git a/sysutils/amanda-common/Makefile.common b/sysutils/amanda-common/Makefile.common
index b450e6d6200..74e3d81b608 100644
--- a/sysutils/amanda-common/Makefile.common
+++ b/sysutils/amanda-common/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.10 2002/10/20 03:20:34 grant Exp $
+# $NetBSD: Makefile.common,v 1.11 2004/02/14 15:29:15 jlam Exp $
#
# common make file fragment shared by all amanda-* pkgs.
#
@@ -17,8 +17,6 @@ BUILD_DEFS+= AMANDA_USER AMANDA_GROUP AMANDA_SMB AMANDA_VAR
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/config/ltconfig
-CONFIG_GUESS_OVERRIDE= ${WRKSRC}/config/config.guess
-CONFIG_SUB_OVERRIDE= ${WRKSRC}/config/config.sub
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-user=${AMANDA_USER}