summaryrefslogtreecommitdiff
path: root/x11-toolkits/tk80
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1997-08-25 16:40:13 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1997-08-25 16:40:13 +0000
commit3eb86b28c2022ae92c65a464662b120380c5257e (patch)
tree732834b35083b50bff74b8ea50d6fc04a35474ba /x11-toolkits/tk80
parentfixed outdated MASTER_SITES etc. (diff)
Simplify BUILD_DEPENDS
Submitted by: asami
Notes
Notes: svn path=/head/; revision=7688
Diffstat (limited to 'x11-toolkits/tk80')
-rw-r--r--x11-toolkits/tk80/Makefile15
1 files changed, 2 insertions, 13 deletions
diff --git a/x11-toolkits/tk80/Makefile b/x11-toolkits/tk80/Makefile
index 946170ababf6..80003271893a 100644
--- a/x11-toolkits/tk80/Makefile
+++ b/x11-toolkits/tk80/Makefile
@@ -3,7 +3,7 @@
# Date created: 19 August 1997
# Whom: jkh
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1997/08/20 19:59:59 jkh Exp $
#
DISTNAME= tk8.0
@@ -14,24 +14,13 @@ MASTER_SITES= ftp://ftp.sunlabs.com/pub/tcl/
MAINTAINER= jkh@Freebsd.ORG
LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
+BUILD_DEPENDS= /nonexistent:${PORTSDIR}/lang/tcl80:configure
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
-# This is totally vile and gross, but using something like BUILD_DEPENDS
-# instead for this would cause a gratuitous rebuild/reinstall for what is
-# really one of those "I just need some of your bits" cases."
-pre-configure:
- @if [ ! -d ${PORTSDIR}/lang/tcl80 ]; then \
- echo "Sorry, this port only works when ${PORTSDIR}/lang/tcl80 is also"; \
- echo "available. Please correct this problem and try again."; \
- exit 1; \
- fi
- @echo Unpacking and configuring tcl80 sources...
- @cd ${PORTSDIR}/lang/tcl80 && make configure ECHO_MSG="echo >/dev/null"
-
post-install:
${LDCONFIG} -m ${PREFIX}/lib