Minor follow-ups on the last commit separating pure-Tcl and compiled
pieces of tcllib: * make the compiled child-port RUN_DEPEND on the master -- it is not useful without it. * disable OPTIONS, when building the child-port -- they aren't meaningful there Pointed out by: gahr
This commit is contained in:
parent
0721ab2fcf
commit
ccfc2840f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388577
2 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,7 @@ LICENSE_NAME= Tcl/Tk License
|
|||
LICENSE_FILE= ${WRKSRC}/license.terms
|
||||
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
||||
|
||||
OPTIONS_DEFINE= DOCS MANPAGES
|
||||
OPTIONS_DEFINE?=DOCS MANPAGES
|
||||
|
||||
WRKSRC= ${WRKDIR}/tcllib-tcllib_${DISTVERSION}
|
||||
USES+= tcl
|
||||
|
|
|
@ -6,11 +6,13 @@ PKGNAMESUFFIX= c
|
|||
COMMENT= Compiled implementations of some of the modules of Tcllib
|
||||
|
||||
BUILD_DEPENDS= critcl:${PORTSDIR}/devel/critcl
|
||||
RUN_DEPENDS= ${PREFIX}/lib/tcllib/pkgIndex.tcl:${MASTERDIR} # PREFIX, not LOCALBASE
|
||||
|
||||
MASTERDIR= ${.CURDIR:H}/tcllib
|
||||
TMPPLIST= ${WRKDIR}/PLIST
|
||||
DESCR= ${.CURDIR}/pkg-descr
|
||||
ALL_TARGET= critcl
|
||||
OPTIONS_DEFINE=
|
||||
|
||||
post-patch:
|
||||
cd ${WRKSRC}/modules/json/c && ${YACC} -b json json.y
|
||||
|
|
Loading…
Reference in a new issue