o Fix build by replacing custom do-build target with set of stock
MAKEFILE/MAKE_ENV/MAKE_ARGS variables. o Slightly reorder variables to make Makefile more readable. Submitted by: bento
This commit is contained in:
parent
e78d45facc
commit
b0b910d5b7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39820
1 changed files with 8 additions and 7 deletions
|
@ -19,20 +19,21 @@ LIB_DEPENDS= tcl${TCL_VER}:${PORTSDIR}/lang/tcl${TCL_VER}
|
|||
|
||||
TCL_DVER?= 8.3
|
||||
TCL_VER= ${TCL_DVER:S/.//}
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-tcl="${LOCALBASE}/lib/tcl${TCL_DVER}" \
|
||||
--with-tclinclude="${LOCALBASE}/include/tcl${TCL_DVER}"
|
||||
|
||||
RCD= ${LOCALBASE}/etc/rc.d/tclhttpd.sh
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
SHLIB_NAME!= ${MAKE} -f "${FILESDIR}/Makefile.lib" ech
|
||||
MAKEFILE= ${FILESDIR}/Makefile.lib
|
||||
MAKE_ENV= TCL_DVER="${TCL_DVER}" FILESDIR="${FILESDIR}"
|
||||
MAKE_ARGS= -j2
|
||||
PLIST_SUB+= TCL_VER=${TCL_VER} PORTVERSION=${PORTVERSION} \
|
||||
SHLIB_NAME=${SHLIB_NAME}
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${MAKE} -j 2 TCL_DVER="${TCL_DVER}" \
|
||||
FILESDIR="${FILESDIR}" -f "${FILESDIR}/Makefile.lib"
|
||||
RCD= ${LOCALBASE}/etc/rc.d/tclhttpd.sh
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
SHLIB_NAME!= ${MAKE} -f ${MAKEFILE} ech
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${LOCALBASE}/tclhttpd/custom
|
||||
|
|
Loading…
Reference in a new issue