diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-12-19 05:02:55 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-12-19 05:02:55 +0800 |
commit | 9d960b17d0d4bb4e9138f06c84b06726729fb6a8 (patch) | |
tree | 0a63db22ade11760c9a56fb32724d661ff94752a /net/csocks | |
parent | 2d5a7a3694a2bcd1823eb53195aaef6a818e69ed (diff) | |
download | freebsd-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
Diffstat (limited to 'net/csocks')
-rw-r--r-- | net/csocks/Makefile | 4 |
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 |