diff options
author | tron <tron> | 2001-10-18 05:33:34 +0000 |
---|---|---|
committer | tron <tron> | 2001-10-18 05:33:34 +0000 |
commit | 6e540adc2d1165c3f71573fb497d0bd60edc3a22 (patch) | |
tree | 2af8841b2bbd7d7a598d20f8c74395ad592aaa65 | |
parent | d4d225532e8becfe30a006f4786b0f9f16332f5c (diff) | |
download | pkgsrc-6e540adc2d1165c3f71573fb497d0bd60edc3a22.tar.gz |
Enforce the use of "ncurses" if NetBSD's "curses" library doesn't
support wgetnstr(3).
-rw-r--r-- | audio/gmp3info/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/audio/gmp3info/Makefile b/audio/gmp3info/Makefile index b3a3d64b808..2354429cfca 100644 --- a/audio/gmp3info/Makefile +++ b/audio/gmp3info/Makefile @@ -1,5 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2001/09/30 09:41:00 wiz Exp $ -# +# $NetBSD: Makefile,v 1.6 2001/10/18 05:33:34 tron Exp $ DISTNAME= mp3info-0.8.2 PKGNAME= g${DISTNAME} @@ -14,8 +13,16 @@ COMMENT= Utility to read and modify the ID3 tags of MP3 files CONFLICTS= mp3info-[0-9]* -USE_BUILDLINK_ONLY= yes -USE_CONFIG_WRAPPER= yes +USE_BUILDLINK_ONLY= YES +USE_CONFIG_WRAPPER= YES + +.include "../../mk/bsd.prefs.mk" + +HAVE_WGETNSTR!= ${GREP} -cw wgetnstr /usr/include/curses.h || ${TRUE} + +.if (${HAVE_WGETNSTR} == 0) +USE_NCURSES= YES +.endif .include "../../devel/ncurses/buildlink.mk" .include "../../x11/gtk/buildlink.mk" |