From f63de72ad91a5e675f6b4da410b4fc8333fc0d81 Mon Sep 17 00:00:00 2001 From: hubertf Date: Tue, 27 Mar 2001 03:19:43 +0000 Subject: 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 --- x11/9term/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'x11/9term') 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" -- cgit v1.2.3