libtool uber-patch
* kill devel/libtool and move to devel/libtool13, upgrading to 1.3.5 * upgrade repo-copied devel/libtool14 to 1.4.3 * break out libltdl into its own separate port * move to version-numbered binaries/scripts (ie: there is *no* 'libtool' any more -- USE_LIBTOOL and USE_LIBTOOL_VER are your friends) Approved by: portmgr (kris) - for the bsd.port.mk hooks Tested by: bento 4-exp builds (repeatedly)
This commit is contained in:
@@ -57,9 +57,9 @@ GNU_CONFIGURE= YES
|
||||
USE_REINPLACE= YES
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX} --with-hints=freebsd.hints
|
||||
ALL_TARGET= all
|
||||
.if defined(WITH_TCL)
|
||||
ALL_TARGET+= libtclsqlite.la
|
||||
.endif
|
||||
#.if defined(WITH_TCL)
|
||||
#ALL_TARGET+= libtclsqlite.la
|
||||
#.endif
|
||||
|
||||
INSTALLS_SHLIB= YES
|
||||
|
||||
@@ -76,7 +76,9 @@ DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "s/tclsh \$$(TOP)/\$$(TCLSH) \$$(TOP)/g" ${WRKSRC}/Makefile.in
|
||||
${REINPLACE_CMD} -e "s/tclsh \$$(TOP)/\$$(TCLSH) \$$(TOP)/g" \
|
||||
-e "s|%%LIBTOOL%%|${LIBTOOL}|g" \
|
||||
${WRKSRC}/Makefile.in
|
||||
${ECHO} "config_TARGET_TCL_INC=\"-I${PREFIX}/include/tcl${TCL_V}\"" >${WRKSRC}/freebsd.hints
|
||||
${ECHO} "config_TARGET_TCL_LIBS=\"-L${PREFIX}/lib -ltcl${TCL_SHORT_V}\"" >>${WRKSRC}/freebsd.hints
|
||||
#${ECHO} "config_TARGET_CFLAGS=\"-DTHREADSAFE=1 -pthread\"" >>${WRKSRC}/freebsd.hints
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
INSTALL = @INSTALL@
|
||||
! LIBTOOL = @prefix@/bin/libtool
|
||||
! LIBTOOL = %%LIBTOOL%%
|
||||
|
||||
# Compiler options needed for programs that use the TCL library.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user