summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>1998-08-19 15:21:20 +0000
committeragc <agc>1998-08-19 15:21:20 +0000
commitfda5aaf22b8b2e6f3a08e26c49a2ae519e8145f3 (patch)
treef78b39ed656db049c2ac8a70c37c5b5057fb3308
parent7e848e79cd6fb4ca19a64cffce36a134d617a1d0 (diff)
downloadpkgsrc-fda5aaf22b8b2e6f3a08e26c49a2ae519e8145f3.tar.gz
Add a LIBTOOL_FLAGS definition, and use it when adding ${LIBTOOL} to the
CONFIGURE_ENV and MAKE_ENV definitions. Get rid of NO_PKG_REGISTER - it's not used anywhere.
-rw-r--r--mk/bsd.pkg.mk10
1 files changed, 4 insertions, 6 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index c7f6d16a705..410c868a7c8 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.144 1998/08/14 22:10:53 tron Exp $
+# $NetBSD: bsd.pkg.mk,v 1.145 1998/08/19 15:21:20 agc Exp $
#
# This file is in the public domain.
#
@@ -149,8 +149,8 @@ BUILD_DEPENDS+= ${PREFIX}/include/Xm/Xm.h:../../x11/lesstif
.if defined(USE_LIBTOOL)
LIBTOOL= ${LOCALBASE}/bin/libtool
BUILD_DEPENDS+= ${LIBTOOL}:../../devel/libtool
-CONFIGURE_ENV+= LIBTOOL=${LIBTOOL}
-MAKE_ENV+= LIBTOOL=${LIBTOOL}
+CONFIGURE_ENV+= LIBTOOL="${LIBTOOL} ${LIBTOOL_FLAGS}"
+MAKE_ENV+= LIBTOOL="${LIBTOOL} ${LIBTOOL_FLAGS}"
.endif
.if exists(${PKGSRCDIR}/../Makefile.inc)
@@ -1016,7 +1016,7 @@ _PORT_USE: .USE
@cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} build-depends misc-depends
.endif
.if make(real-install)
-.if !defined(NO_PKG_REGISTER) && !defined(FORCE_PKG_REGISTER)
+.if !defined(FORCE_PKG_REGISTER)
.if defined(CONFLICTS)
@(/bin/sh -f -c 'for i in ${CONFLICTS}; do \
if /usr/sbin/pkg_info -e "$$i" >${WRKDIR}/.CONFLICT.$$$$; then \
@@ -1165,9 +1165,7 @@ _PORT_USE: .USE
@${ECHO_MSG} "===> Please note the following:"
@${CAT} ${PKGDIR}/MESSAGE
.endif
-.if !defined(NO_PKG_REGISTER)
@cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} fake-pkg
-.endif # NO_PKG_REGISTER
.endif
.if !make(real-fetch) \
&& (!make(real-patch) || !defined(PATCH_CHECK_ONLY)) \