summaryrefslogtreecommitdiff
path: root/devel/apr
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-11-22 23:10:55 +0000
committerjlam <jlam@pkgsrc.org>2004-11-22 23:10:55 +0000
commit08652529604ca385183a2316604ad76d148abfec (patch)
treec39e26583e7f26f2a93afba8b10cb39ff1b69194 /devel/apr
parent26565788e756ef10a5c48ec27e77236ae25805f0 (diff)
downloadpkgsrc-08652529604ca385183a2316604ad76d148abfec.tar.gz
Pass extra libraries to configure scripts in LIBS, and remove redundant
environment passing that's already done in bsd.pkg.mk.
Diffstat (limited to 'devel/apr')
-rw-r--r--devel/apr/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/apr/Makefile b/devel/apr/Makefile
index 66b3035e682..c344ae8a78a 100644
--- a/devel/apr/Makefile
+++ b/devel/apr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2004/11/17 19:30:12 xtraeme Exp $
+# $NetBSD: Makefile,v 1.29 2004/11/22 23:10:55 jlam Exp $
PKGNAME= apr-${APR_VERSION}.${APACHE_VERSION}
PKGREVISION= 1
@@ -19,9 +19,9 @@ USE_LIBTOOL= YES
WRKSRC= ${WRKDIR}/${DISTNAME}/srclib
BUILD_DIRS= ${WRKSRC}/apr ${WRKSRC}/apr-util
-CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LIBS="${LDFLAGS}"
-
-LDFLAGS.SunOS+= -lnsl
+GNU_CONFIGURE= YES
+CONFIGURE_ENV+= LIBS="${LIBS}"
+LIBS.SunOS+= -lnsl
APR_CONFIGURE_ARGS= \
--prefix=${PREFIX} \