summaryrefslogtreecommitdiff
path: root/mbone
diff options
context:
space:
mode:
authorhubertf <hubertf>1999-04-05 03:41:16 +0000
committerhubertf <hubertf>1999-04-05 03:41:16 +0000
commit5b09829d8305376de24a8eb23f67dd08393ac6bd (patch)
tree28ed14e2398b5cada5777e93c179b2ccd61f18d0 /mbone
parent611f6d4b187d84461e06dca7df140bcae9caecbe (diff)
downloadpkgsrc-5b09829d8305376de24a8eb23f67dd08393ac6bd.tar.gz
- Find tk package in the proper directory (even with WRKOBJDIR set)
- tk source is now in a different directory - add a pre-clean target to clean out the dependencies
Diffstat (limited to 'mbone')
-rw-r--r--mbone/nte/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/mbone/nte/Makefile b/mbone/nte/Makefile
index 82a3d8c0a05..005e347356e 100644
--- a/mbone/nte/Makefile
+++ b/mbone/nte/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 1999/04/01 13:38:44 agc Exp $
+# $NetBSD: Makefile,v 1.15 1999/04/05 03:41:16 hubertf Exp $
#
DISTNAME= nt.1.5a23
@@ -8,11 +8,11 @@ MASTER_SITES= ftp://cs.ucl.ac.uk/mice/nte/
MAINTAINER= mycroft@netbsd.org
-BUILD_DEPENDS= ${BUILD_ROOT}/x11/tk80/${WRKDIR:T}/tk8.0/generic/default.h:${TK_DIR}:configure
+BUILD_DEPENDS= ${TK_SRC}/generic/default.h:${TK_DIR}:configure
DEPENDS+= tk-8.0.5:../../x11/tk80
-TK_DIR= ${BUILD_ROOT}/x11/tk80
-TK_SRC= ${TK_DIR}/${WRKDIR:T}/tk8.0
+TK_DIR= ${.CURDIR}/../../x11/tk80
+TK_SRC= ${TK_DIR}/${WRKDIR:T}/tk8.0.5
NOT_FOR_ARCHS= alpha # ANSI headers cause LP64 problems
@@ -38,4 +38,7 @@ do-configure:
pre-build: ${WRKSRC}/netbsd/hsearch.o
${WRKSRC}/netbsd/hsearch.o: ${WRKSRC}/src/hsearch.c
- ${CC} -I${WRKSRC}/src ${CFLAGS} -c -o $@ ${WRKSRC}/src/hsearch.c
+ ${CC} -I${WRKSRC}/src ${CFLAGS} -c -o $@ ${WRKSRC}/src/hsearch.c
+
+pre-clean:
+ @cd ${TK_DIR} && ${MAKE} clean