summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorgrant <grant>2004-05-17 11:11:30 +0000
committergrant <grant>2004-05-17 11:11:30 +0000
commit6c32cab43d1ca70ff57925b4f62d43cbf3655693 (patch)
treedcb7ada56c7a439e05f0d5e73546e5e9666ff056 /editors
parenta755b1df4c6576222ed097fa331a845e62852227 (diff)
downloadpkgsrc-6c32cab43d1ca70ff57925b4f62d43cbf3655693.tar.gz
link against libcurses on Darwin.
Diffstat (limited to 'editors')
-rw-r--r--editors/pico/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/editors/pico/Makefile b/editors/pico/Makefile
index 9e39c925fd3..c02a454f077 100644
--- a/editors/pico/Makefile
+++ b/editors/pico/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2004/05/17 10:56:17 grant Exp $
+# $NetBSD: Makefile,v 1.53 2004/05/17 11:11:30 grant Exp $
DISTNAME= pine4.60
PKGNAME= pico-4.7
@@ -22,6 +22,7 @@ USE_LIBTOOL= YES
BUILDNAME= so5
.elif ${OPSYS} == "Darwin"
BUILDNAME= osx
+LIBS+= -lcurses
.elif ${OPSYS} == "Linux"
BUILDNAME= lnx
.else
@@ -34,7 +35,8 @@ do-build:
cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ./build ${BUILDNAME} \
CC="${LIBTOOL} ${CC}" \
- PREFIX=${PREFIX} OPTIMIZE="${CFLAGS}"
+ PREFIX=${PREFIX} OPTIMIZE="${CFLAGS}" \
+ EXTRALDFLAGS="${LIBS}"
do-install:
${LIBTOOL} --mode=install ${INSTALL_DATA} \