summaryrefslogtreecommitdiff
path: root/audio/krio/Makefile
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-03-27 03:19:43 +0000
committerhubertf <hubertf@pkgsrc.org>2001-03-27 03:19:43 +0000
commite32afb6fea693addf91cf6d2aebe68164062fc6c (patch)
tree387535a43617bd882ee1e20ce4779c6544f8925b /audio/krio/Makefile
parentd5f813f88b7e8fab565be817580917bc22dbdbec (diff)
downloadpkgsrc-e32afb6fea693addf91cf6d2aebe68164062fc6c.tar.gz
Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more executable/patchname/whatnot. While there, introduce BUILD_USES_MSGFMT as shorthand to pull in devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current). Patch by Alistair Crooks <agc@netbsd.org>
Diffstat (limited to 'audio/krio/Makefile')
-rw-r--r--audio/krio/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/audio/krio/Makefile b/audio/krio/Makefile
index bde3e16e43c..f5c4756fac9 100644
--- a/audio/krio/Makefile
+++ b/audio/krio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/03/04 09:06:09 tron Exp $
+# $NetBSD: Makefile,v 1.5 2001/03/27 03:19:46 hubertf Exp $
DISTNAME= Krio-19990721
PKGNAME= krio-19990721
@@ -15,8 +15,6 @@ USE_X11BASE= yes
RIODIR= ${PKGSRCDIR}/audio/rio/${WRKDIR:T}/rio107
-BUILD_DEPENDS+= ${RIODIR}/rio.cpp:../../audio/rio:configure
-
DEPENDS+= jpeg-6b:../../graphics/jpeg
DEPENDS+= kdelibs-1.1.2:../../x11/kdelibs
DEPENDS+= png>1.0.9:../../graphics/png
@@ -29,4 +27,12 @@ EVAL_PREFIX= QT1DIR=qt1 KDEDIR=kdelibs
MAKE_ENV+= QT1DIR=${QT1DIR} KDEDIR=${KDEDIR}
MAKE_ENV+= RIODIR=${RIODIR} X11PREFIX=${X11PREFIX}
+pre-configure:
+ if [ ! -e ${RIODIR} ]; then \
+ cd ../../audio/rio && ${MAKE} configure; \
+ fi
+
+pre-clean:
+ cd ../../audio/rio && ${MAKE} clean
+
.include "../../mk/bsd.pkg.mk"