aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-12-19 05:02:55 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-12-19 05:02:55 +0800
commit9d960b17d0d4bb4e9138f06c84b06726729fb6a8 (patch)
tree0a63db22ade11760c9a56fb32724d661ff94752a
parent2d5a7a3694a2bcd1823eb53195aaef6a818e69ed (diff)
downloadfreebsd-ports-gnome-9d960b17d0d4bb4e9138f06c84b06726729fb6a8.tar.gz
freebsd-ports-gnome-9d960b17d0d4bb4e9138f06c84b06726729fb6a8.tar.zst
freebsd-ports-gnome-9d960b17d0d4bb4e9138f06c84b06726729fb6a8.zip
- Fix loading of libc.so on FreeBSD 10+ where it is an ldscript.
PR: ports/180568 [umbrella bug for dlopen("libco.so")] Submitted by: Anthony Cornehl Sponsored by: EMC / Isilon Storage Division
-rw-r--r--net/csocks/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/csocks/Makefile b/net/csocks/Makefile
index a1f608a84f64..fcab438e5d40 100644
--- a/net/csocks/Makefile
+++ b/net/csocks/Makefile
@@ -3,6 +3,7 @@
PORTNAME= csocks
PORTVERSION= 1.5
+PORTREVISION= 1
CATEGORIES= net security
MASTER_SITES= http://csocks.altervista.org/download/ \
http://csocks.virtuale.org/download/
@@ -18,6 +19,9 @@ USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/src
+post-patch:
+ ${REINPLACE_CMD} 's|libc.so|/lib/libc.so.7|' ${WRKSRC}/csocks.h
+
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/freebsd/csocks ${STAGEDIR}${PREFIX}/bin
${INSTALL_LIB} ${WRKDIR}/src/libcsocks.so.1 ${STAGEDIR}${PREFIX}/lib