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
commit4d758a646db243cfef9a3ff137cd8ded03cfe0fa (patch)
treedcb7ada56c7a439e05f0d5e73546e5e9666ff056 /editors/pico
parentb4bc5cd88253f2d57c4a9085ef5cd796b89cb39b (diff)
downloadpkgsrc-4d758a646db243cfef9a3ff137cd8ded03cfe0fa.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} \