diff options
author | sbd <sbd@pkgsrc.org> | 2011-12-06 01:19:15 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2011-12-06 01:19:15 +0000 |
commit | bf54b39851c3f6a3dae7dd9087ce109e85e9c7da (patch) | |
tree | a31bbae0021a74c242106dd5807031f440014727 /comms/kermit/Makefile | |
parent | b35f497c2757fd1ba6c97be80759b923de61ef37 (diff) | |
download | pkgsrc-bf54b39851c3f6a3dae7dd9087ce109e85e9c7da.tar.gz |
1) Add missing mk/curses buildlink.
2) Pass BUILDLINK_CPPFLAGS and BUILDLINK_LDFLAGS to the make process.
3) Have the build variables HAVE_LIBCURSES and HAVE_CURSES needed for the
linux build set the by pkgsrc.
Bump PKGREVISION
Diffstat (limited to 'comms/kermit/Makefile')
-rw-r--r-- | comms/kermit/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile index 41d9a7d2ec4..f10d846e644 100644 --- a/comms/kermit/Makefile +++ b/comms/kermit/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.78 2011/11/20 12:01:50 tron Exp $ +# $NetBSD: Makefile,v 1.79 2011/12/06 01:19:15 sbd Exp $ DISTNAME= cku302 PKGNAME= kermit-9.0.302 +PKGREVISION= 1 CATEGORIES= comms MASTER_SITES= ftp://kermit.columbia.edu/kermit/archives/ @@ -21,6 +22,8 @@ MAKE_ENV+= KFLAGS=${KFLAGS:Q} LIBS=${LIBS:Q} MAKE_FILE= makefile #KFLAGS+= -DNODEBUG -DNOOLDMODEMS +KFLAGS+= ${BUILDLINK_CPPFLAGS} +LIBS+= ${BUILDLINK_LDFLAGS} .include "options.mk" @@ -38,6 +41,8 @@ LIBS+= -ltermcap . endif .endfor +.include "../../mk/curses.buildlink3.mk" + .if ${OPSYS} == "Darwin" . if !empty(OS_VERSION:M??.*) BUILD_TARGET_OPSYS= macosx10.6 @@ -52,6 +57,12 @@ BUILD_TARGET_OPSYS= macosx10 . endif .elif ${OPSYS} == "Linux" BUILD_TARGET_OPSYS= linux +MAKE_ENV+= HAVE_LIBCURSES=-l${BUILDLINK_LIBNAME.curses} +. if ${CURSES_TYPE} == "ncurses" +MAKE_ENV+= HAVE_CURSES=-DCK_NCURSES +. else +MAKE_ENV+= HAVE_CURSES=-DCK_NCURSES +. endif .elif ${OPSYS} == "SunOS" BUILD_TARGET_OPSYS= solaris11g .else |