pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/pine don't pass LDFLAGS to CC. add -lcurses on Da...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d3b1200f98fb
branches: trunk
changeset: 485670:d3b1200f98fb
user: grant <grant%pkgsrc.org@localhost>
date: Sat Dec 18 16:20:36 2004 +0000
description:
don't pass LDFLAGS to CC. add -lcurses on Darwin. fixes build on
Darwin.
diffstat:
mail/pine/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r bf1f614325a1 -r d3b1200f98fb mail/pine/Makefile
--- a/mail/pine/Makefile Sat Dec 18 16:17:12 2004 +0000
+++ b/mail/pine/Makefile Sat Dec 18 16:20:36 2004 +0000
@@ -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 @@
.elif ${OPSYS} == "Darwin"
BUILDNAME= osx
BUILDFILE= osx
+LIBS+= -lcurses
.else
BUILDNAME= neb
BUILDFILE= neb
@@ -70,7 +71,8 @@
${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/
Home |
Main Index |
Thread Index |
Old Index