diff options
author | mm <mm@FreeBSD.org> | 2007-06-05 21:32:06 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2007-06-05 21:32:06 +0800 |
commit | 872571f22f389e513f69f3bedf98c640d182ec13 (patch) | |
tree | af5c4c6798a33b0488f89f479a766b7b366d8cc0 /x11-toolkits/tk85 | |
parent | 1747c39e1e44e9b5c872fdc03a2a4e1c947f9c5f (diff) | |
download | freebsd-ports-gnome-872571f22f389e513f69f3bedf98c640d182ec13.tar.gz freebsd-ports-gnome-872571f22f389e513f69f3bedf98c640d182ec13.tar.zst freebsd-ports-gnome-872571f22f389e513f69f3bedf98c640d182ec13.zip |
- fix shared build on -CURRENT
- change tr to ${TR}
Suggested by: stas
Approved by: garga (mentor)
Diffstat (limited to 'x11-toolkits/tk85')
-rw-r--r-- | x11-toolkits/tk85/Makefile | 6 | ||||
-rw-r--r-- | x11-toolkits/tk85/files/patch-unix::configure | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/x11-toolkits/tk85/Makefile b/x11-toolkits/tk85/Makefile index 883946308381..8bc4d728b053 100644 --- a/x11-toolkits/tk85/Makefile +++ b/x11-toolkits/tk85/Makefile @@ -7,7 +7,7 @@ PORTNAME= tk PORTVERSION= 8.5.a.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= tcl @@ -406,9 +406,9 @@ post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ -e 's|$${TCL_TRIM_DOTS}|$${TCL_TRIM_DOTS}${THREADS_SUFFIX}|g' \ -e 's|-ltk$${TK_VERSION}|-ltk$${TK_VERSION}${THREADS_SUFFIX}|g' \ - -e 's/-ltk`echo $${TK_VERSION} | tr -d .`/-ltk`echo $${TK_VERSION} | tr -d .`${THREADS_SUFFIX}/g' \ + -e 's/-ltk`echo $${TK_VERSION} | ${TR} -d .`/-ltk`echo $${TK_VERSION} | ${TR} -d .`${THREADS_SUFFIX}/g' \ -e 's|-ltkstub$${TK_VERSION}|-ltkstub$${TK_VERSION}${THREADS_SUFFIX}|g' \ - -e 's/-ltkstub`echo $${TK_VERSION} | tr -d .`/-ltkstub`echo $${TK_VERSION} | tr -d .`${THREADS_SUFFIX}/g' \ + -e 's/-ltkstub`echo $${TK_VERSION} | ${TR} -d .`/-ltkstub`echo $${TK_VERSION} | ${TR} -d .`${THREADS_SUFFIX}/g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|libtk$${SHORT_TK_VER}|libtk$${SHORT_TK_VER}${THREADS_SUFFIX}|g' \ -e 's|$$(BIN_INSTALL_DIR)/wish$$(VERSION)|$$(BIN_INSTALL_DIR)/wish$$(VERSION)${THREADS_SUFFIX}|g' \ diff --git a/x11-toolkits/tk85/files/patch-unix::configure b/x11-toolkits/tk85/files/patch-unix::configure index c110a26b28b5..4cfd9b3f72c7 100644 --- a/x11-toolkits/tk85/files/patch-unix::configure +++ b/x11-toolkits/tk85/files/patch-unix::configure @@ -14,7 +14,7 @@ SHLIB_CFLAGS="-fPIC" - SHLIB_LD="ld -Bshareable -x" + TCL_SHLIB_LD_EXTRAS="-soname \$@" -+ SHLIB_LD="ld -shared -x" ++ SHLIB_LD="${CC} -shared" SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" |