Subject: pkg/17699: Buildlinkify audio/dap
To: None <gnats-bugs@gnats.netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: netbsd-bugs
Date: 07/24/2002 14:15:08
>Number: 17699
>Category: pkg
>Synopsis: Buildlinkify audio/dap
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Jul 24 05:14:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Julio Merino
>Release: NetBSD 1.6D
>Organization:
HispaBSD
>Environment:
System: NetBSD darkstar.local 1.6D NetBSD 1.6D (DARKSTAR) #0: Mon Jul 22 12:44:12 CEST 2002 jmmv@darkstar.local:/var/build/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
audio/dap currently uses DEPENDS variables, but it works well with
buildlink's.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/audio/dap/Makefile,v
retrieving revision 1.13
diff -u -u -r1.13 Makefile
--- Makefile 2002/04/17 04:45:06 1.13
+++ Makefile 2002/07/24 12:00:33
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.13 2002/04/17 04:45:06 fredb Exp $
DISTNAME= dap-2.1.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://www.cee.hw.ac.uk/~richardk/
EXTRACT_SUFX= .tgz
@@ -10,15 +10,12 @@
HOMEPAGE= http://www.cee.hw.ac.uk/~richardk/
COMMENT= Digital audio recording and processing package
-DEPENDS+= jpeg-6b:../../graphics/jpeg
-DEPENDS+= xforms>=0.9999:../../x11/xforms
-
MAKEFILE= Makefile.netbsd
MAKE_ENV+= X11PREFIX=${X11PREFIX}
+USE_BUILDLINK_ONLY= YES
USE_X11BASE= YES
-USE_XPM= YES
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/main/DAP ${PREFIX}/bin/dap
@@ -26,4 +23,7 @@
@${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/TODO ${WRKSRC}/COPYING \
${WRKSRC}/FEATURES ${PREFIX}/share/doc/dap
+.include "../../graphics/jpeg/buildlink.mk"
+.include "../../graphics/xpm/buildlink.mk"
+.include "../../x11/xforms/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: