summaryrefslogtreecommitdiff
path: root/x11/9term
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-03-27 03:19:43 +0000
committerhubertf <hubertf>2001-03-27 03:19:43 +0000
commitf63de72ad91a5e675f6b4da410b4fc8333fc0d81 (patch)
tree387535a43617bd882ee1e20ce4779c6544f8925b /x11/9term
parent8f8631769bc10d6d2843a57e8f6ca7d8c8fa63da (diff)
downloadpkgsrc-f63de72ad91a5e675f6b4da410b4fc8333fc0d81.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/Makefile14
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"