summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/tk83
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-08-25 16:40:13 +0000
committerjkh <jkh@FreeBSD.org>1997-08-25 16:40:13 +0000
commit09118ceef35c56df4cfa01087f9e11834c933784 (patch)
tree7ec246f7b6a38f28b8d98115ea505c3cba0863a4 /x11-toolkits/tk83
parent912da3aa53ee35095c93a3345dc9e13962408673 (diff)
downloadFreeBSD-ports-09118ceef35c56df4cfa01087f9e11834c933784.zip
FreeBSD-ports-09118ceef35c56df4cfa01087f9e11834c933784.tar.gz
Simplify BUILD_DEPENDS
Submitted by: asami
Diffstat (limited to 'x11-toolkits/tk83')
-rw-r--r--x11-toolkits/tk83/Makefile15
1 files changed, 2 insertions, 13 deletions
diff --git a/x11-toolkits/tk83/Makefile b/x11-toolkits/tk83/Makefile
index 946170a..8000327 100644
--- a/x11-toolkits/tk83/Makefile
+++ b/x11-toolkits/tk83/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
OpenPOWER on IntegriCloud