summaryrefslogtreecommitdiff
path: root/editors/pico
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-05-17 11:11:30 +0000
committergrant <grant@pkgsrc.org>2004-05-17 11:11:30 +0000
commita2bc232d07a1f2bbfa9228614a200ca3702b87ce (patch)
treedcb7ada56c7a439e05f0d5e73546e5e9666ff056 /editors/pico
parent364743dc13abc543511969fd37bad101a2c1bfb2 (diff)
downloadpkgsrc-a2bc232d07a1f2bbfa9228614a200ca3702b87ce.tar.gz
link against libcurses on Darwin.
Diffstat (limited to 'editors/pico')
-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} \