summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-03-09 19:34:14 +0000
committersnj <snj@pkgsrc.org>2004-03-09 19:34:14 +0000
commit232fc2ba2a43da8b72eab1353dae3b2522e1d8e2 (patch)
tree054f5d33576fde398abd8116777206ed47029332 /devel
parent5320c1f42e8fecd3e42863a695d3429f2969a1cc (diff)
downloadpkgsrc-232fc2ba2a43da8b72eab1353dae3b2522e1d8e2.tar.gz
Add LDFLAGS.SunOS+=-lnsl. From gavan@ on tech-pkg. Closes PR pkg/24720.
Diffstat (limited to 'devel')
-rw-r--r--devel/apr/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/apr/Makefile b/devel/apr/Makefile
index faf95a75977..3f33cedc38d 100644
--- a/devel/apr/Makefile
+++ b/devel/apr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2004/03/07 22:32:05 minskim Exp $
+# $NetBSD: Makefile,v 1.16 2004/03/09 19:34:14 snj Exp $
PKGNAME= apr-${APR_VERSION}.${APACHE_VERSION}
PKGREVISION= 1
@@ -19,6 +19,8 @@ BUILD_DIRS= ${WRKSRC}/apr ${WRKSRC}/apr-util
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LIBS="${LDFLAGS}"
+LDFLAGS.SunOS+= -lnsl
+
pre-configure:
.for f in apr/config.layout apr-util/config.layout
${SED} -e 's|@PREFIX@|${PREFIX}|g' < ${WRKSRC}/$f > ${WRKSRC}/$f.new