summaryrefslogtreecommitdiff
path: root/mail/pine
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-12-18 16:20:36 +0000
committergrant <grant@pkgsrc.org>2004-12-18 16:20:36 +0000
commit55ef91bd559272df88ca1d68e2b0b6a05e2924a3 (patch)
tree823844d9158bb42949069e9af622bc22aa5042f6 /mail/pine
parent52da5bcd246376c6dbf3e731aeebec8e0b80e266 (diff)
downloadpkgsrc-55ef91bd559272df88ca1d68e2b0b6a05e2924a3.tar.gz
don't pass LDFLAGS to CC. add -lcurses on Darwin. fixes build on
Darwin.
Diffstat (limited to 'mail/pine')
-rw-r--r--mail/pine/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/pine/Makefile b/mail/pine/Makefile
index a6af7fd18b9..1e8ff0b3288 100644
--- a/mail/pine/Makefile
+++ b/mail/pine/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.96 2004/11/08 17:10:24 tv Exp $
+# $NetBSD: Makefile,v 1.97 2004/12/18 16:20:36 grant Exp $
DISTNAME= pine4.61
PKGNAME= pine-4.61
@@ -30,6 +30,7 @@ BUILDFILE= lnx
.elif ${OPSYS} == "Darwin"
BUILDNAME= osx
BUILDFILE= osx
+LIBS+= -lcurses
.else
BUILDNAME= neb
BUILDFILE= neb
@@ -70,7 +71,8 @@ do-build:
${SETENV} ${MAKE_ENV} ./build ${BUILDNAME} \
${PINE_LDAPCFLAGS} ${PINE_LDAPLIBS} \
PREFIX=${PREFIX} \
- CC="${CC} ${CFLAGS} ${LDFLAGS}"
+ CC="${CC} ${CFLAGS}" \
+ EXTRALDFLAGS="${LDFLAGS} ${LIBS}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/pine ${PREFIX}/bin/