diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-03-27 03:19:43 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-03-27 03:19:43 +0000 |
commit | e32afb6fea693addf91cf6d2aebe68164062fc6c (patch) | |
tree | 387535a43617bd882ee1e20ce4779c6544f8925b /x11/9term | |
parent | d5f813f88b7e8fab565be817580917bc22dbdbec (diff) | |
download | pkgsrc-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 'x11/9term')
-rw-r--r-- | x11/9term/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/x11/9term/Makefile b/x11/9term/Makefile index 2933723410f..fcd0aeb73d4 100644 --- a/x11/9term/Makefile +++ b/x11/9term/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2001/02/17 17:06:11 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2001/03/27 03:20:25 hubertf Exp $ # FreeBSD Id: Makefile,v 1.5 1996/12/07 23:43:56 asami Exp # @@ -11,9 +11,6 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.psrg.cs.usyd.edu.au/~matty/9term/index.html COMMENT= X11 program which emulates a plan9 window -# needs library and private header, but not during runtime -BUILD_DEPENDS= ${BUILD_ROOT}/editors/sam/${WRKDIR:T}/libframe/libframe.a:../../editors/sam:all - USE_X11= yes NOT_FOR_PLATFORM= *-*-alpha #LP64 Problems @@ -22,4 +19,13 @@ MANCOMPRESSED= yes NO_WRKSUBDIR= yes MAKE_ENV+= WRKDIR=${WRKDIR} PKGSRCDIR=${PKGSRCDIR} +pre-configure: + if [ ! -e ${BUILD_ROOT}/editors/sam/${WRKDIR:T}/libframe/libframe.a ]; then \ + cd ../../editors/sam && ${MAKE} all; \ + fi + +pre-clean: + cd ../../editors/sam && ${MAKE} clean + + .include "../../mk/bsd.pkg.mk" |