pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/pico link against libcurses on Darwin.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc55dcdde03b
branches:  trunk
changeset: 475507:fc55dcdde03b
user:      grant <grant%pkgsrc.org@localhost>
date:      Mon May 17 11:11:30 2004 +0000

description:
link against libcurses on Darwin.

diffstat:

 editors/pico/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r a715e51184cb -r fc55dcdde03b editors/pico/Makefile
--- a/editors/pico/Makefile     Mon May 17 10:56:17 2004 +0000
+++ b/editors/pico/Makefile     Mon May 17 11:11:30 2004 +0000
@@ -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 @@
 BUILDNAME=     so5
 .elif ${OPSYS} == "Darwin"
 BUILDNAME=     osx
+LIBS+=         -lcurses
 .elif ${OPSYS} == "Linux"
 BUILDNAME=     lnx
 .else
@@ -34,7 +35,8 @@
        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} \



Home | Main Index | Thread Index | Old Index