mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04:00
Adjust the tclDP hack so that it doesn't depend on it being pre-installed
if USE_DPWISH is set. Make the build work without making an X11 connection (groan!) by using tclsh instead of "wish -notk" to build the indexes. Requested by: asami
This commit is contained in:
parent
a3a73aa969
commit
445cc51fbc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3632
1 changed files with 10 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
# Date created: 19 Aug 1995
|
||||
# Whom: jkh / pst
|
||||
#
|
||||
# $Id: Makefile,v 1.6 1995/11/27 04:06:03 asami Exp $
|
||||
# $Id: Makefile,v 1.7 1996/08/16 12:24:55 peter Exp $
|
||||
#
|
||||
|
||||
DISTNAME= zircon-1.17p3
|
||||
|
@ -15,7 +15,7 @@ MASTER_SITES= ftp://catless.ncl.ac.uk/pub/
|
|||
# tcl7.3/tk3.6/tclDP code. The author strongly reccomends using
|
||||
# tcl7.5/tk4.1 instead, and the tclDP wont be supported for long.
|
||||
#
|
||||
.if defined(USE_DPWISH) && ${USE_DPWISH} == YES && exists(${PREFIX}/bin/dpwish)
|
||||
.if defined(USE_DPWISH) && ${USE_DPWISH} == YES
|
||||
BUILD_DEPENDS= dpwish:${PORTSDIR}/net/tclDP
|
||||
RUN_DEPENDS= dpwish:${PORTSDIR}/net/tclDP
|
||||
MAKE_ENV= WISH=${PREFIX}/bin/dpwish
|
||||
|
@ -25,6 +25,14 @@ RUN_DEPENDS= wish4.1:${PORTSDIR}/x11/tk41
|
|||
MAKE_ENV= WISH=${PREFIX}/bin/wish4.1
|
||||
.endif
|
||||
|
||||
# In case the port is built not on FreeBSD-2.2+ (which has tcl standard)
|
||||
.if exists(/usr/bin/tclsh)
|
||||
MAKE_ENV+= TCLSH=tclsh
|
||||
.else
|
||||
BUILD_DEPENDS+= tclsh7.5:${PORTSDIR}/lang/tcl75
|
||||
MAKE_ENV+= TCLSH=tclsh7.5
|
||||
.endif
|
||||
|
||||
MAKEFILE= Makefile.FreeBSD
|
||||
|
||||
pre-patch:
|
||||
|
|
Loading…
Add table
Reference in a new issue