summaryrefslogtreecommitdiff
path: root/audio/aumix/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-19 15:55:08 +0000
committerjlam <jlam@pkgsrc.org>2001-06-19 15:55:08 +0000
commitb32a7a92c8effbd64b3da71d897e6bf500db04c0 (patch)
tree0524e537c07b17f917f1082a24c849802704156d /audio/aumix/Makefile
parentdbfddb7cdca0d81e70f167223a99442a80c490e9 (diff)
downloadpkgsrc-b32a7a92c8effbd64b3da71d897e6bf500db04c0.tar.gz
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. Remove
the unnecessary patches that manipulated things for curses/ncurses. Add patch to remove -I$(includedir) and -L$(libdir) from the compiler flags.
Diffstat (limited to 'audio/aumix/Makefile')
-rw-r--r--audio/aumix/Makefile25
1 files changed, 11 insertions, 14 deletions
diff --git a/audio/aumix/Makefile b/audio/aumix/Makefile
index 229fd1a5ced..fa94492055a 100644
--- a/audio/aumix/Makefile
+++ b/audio/aumix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2001/04/02 20:06:11 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2001/06/19 15:55:08 jlam Exp $
DISTNAME= aumix-2.7
CATEGORIES= audio
@@ -12,22 +12,19 @@ MAINTAINER= trevor@jpj.net
HOMEPAGE= http://jpj.net/~trevor/aumix.html
COMMENT= Set mix levels
-DEPENDS+= gtk+-1.2.*:../../x11/gtk
BUILD_USES_MSGFMT= yes
-USE_CURSES= yes
-REPLACE_NCURSES= ${WRKSRC}/configure ${WRKSRC}/src/curses.h \
- ${WRKSRC}/src/gpm-xterm.h
-USE_LIBINTL= yes
+#USE_CURSES= yes
+#USE_LIBINTL= yes
-GNU_CONFIGURE= yes
+USE_BUILDLINK_ONLY= yes
+USE_CONFIG_WRAPPER= yes
-CONFIGURE_ARGS= --enable-own-labels
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${NEED_NCURSES} == "YES"
-CFLAGS+= -I${WRKSRC}/src -I${LOCALBASE}/include
-.endif
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-own-labels
+CONFIGURE_ARGS+= --enable-nls
+.include "../../devel/gettext-lib/buildlink.mk"
+.include "../../devel/ncurses/buildlink.mk"
+.include "../../x11/gtk/buildlink.mk"
.include "../../mk/bsd.pkg.mk"