diff options
author | jlam <jlam@pkgsrc.org> | 2000-07-28 21:47:49 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-07-28 21:47:49 +0000 |
commit | 55177032422609465a011178a5e3498809b19704 (patch) | |
tree | 03603b7a561ce4c92c2a4bb825f460fa47f32cf9 /audio/timidity/Makefile | |
parent | cfeb74eade76c27245ea55e2182aeccab9581634 (diff) | |
download | pkgsrc-55177032422609465a011178a5e3498809b19704.tar.gz |
Make use of new USE_CURSES functionality. Also close PR#10344 by
Ben Collver <collver@softhome.net>.
Diffstat (limited to 'audio/timidity/Makefile')
-rw-r--r-- | audio/timidity/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/audio/timidity/Makefile b/audio/timidity/Makefile index 3c376baa0d9..06328ea2113 100644 --- a/audio/timidity/Makefile +++ b/audio/timidity/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2000/01/15 18:46:24 jlam Exp $ +# $NetBSD: Makefile,v 1.24 2000/07/28 21:47:49 jlam Exp $ # DISTNAME= timidity-0.2i @@ -11,9 +11,10 @@ MAINTAINER= mycroft@NetBSD.ORG HOMEPAGE= http://www.cgs.fi/~tt/timidity/ BUILD_DEPENDS= unzip:../../archivers/unzip -DEPENDS+= ncurses>=4.2:../../devel/ncurses DEPENDS+= tk-8.0.5:../../x11/tk80 +USE_CURSES= # defined + NO_CDROM= "Uses copyrighted patches" EXTRACT_ONLY= ${DISTNAME}.tar.gz @@ -29,3 +30,13 @@ post-install: unzip -o -q -L ${DISTDIR}/${TIINS} .include "../../mk/bsd.pkg.mk" + +.if defined(NEED_NCURSES) && ${NEED_NCURSES} == "YES" +EXTRAINCS+= -DHAVE_NCURSES_H=1 -I${LOCALBASE}/include +EXTRALIBS+= -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -lncurses +MAKE_ENV+= EXTRAINCS="${EXTRAINCS}" +.else +EXTRALIBS+= -lcurses -ltermcap +.endif + +MAKE_ENV+= EXTRALIBS="${EXTRALIBS}" |