diff options
author | hubertf <hubertf> | 2000-10-16 17:21:35 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-10-16 17:21:35 +0000 |
commit | 9f6cd74f99c65a3df569ccadb281a162aa088955 (patch) | |
tree | f5ce33b31a81970aae7ab5e576e2d856078f05b5 /x11/swing | |
parent | b3fcfac82680f5f7a5a6c719acd6755bad474239 (diff) | |
download | pkgsrc-9f6cd74f99c65a3df569ccadb281a162aa088955.tar.gz |
Install pre-fetch depends the right way.
Diffstat (limited to 'x11/swing')
-rw-r--r-- | x11/swing/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/x11/swing/Makefile b/x11/swing/Makefile index edf215f379d..dc0d79fd71c 100644 --- a/x11/swing/Makefile +++ b/x11/swing/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2000/09/11 18:11:43 jwise Exp $ +# $NetBSD: Makefile,v 1.9 2000/10/16 17:21:35 hubertf Exp $ DISTNAME= swing1_1_1 PKGNAME= swing-1.1.1 @@ -36,11 +36,12 @@ ROOT_GROUP?= wheel TEMPDIR?= /tmp TEMPFILE!=echo ${TEMPDIR}/swing.location.$$$$ +BUILD_DEPENDS+= ${LOCALBASE}/bin/urlget:../../www/urlget pre-fetch: - @if [ ! -x ${LOCALBASE}/bin/urlget ];\ + if [ ! -x ${LOCALBASE}/bin/urlget ]; \ then \ ${ECHO} '==> Installing urlget to fetch swing' ; \ - (cd ../../www/urlget && make install) ; \ + ${MAKE} ${MAKEFLAGS} install-build-depends ; \ fi do-fetch: |