svn commit: r374921 - head/net/csocks
Bryan Drewery
bdrewery at FreeBSD.org
Thu Dec 18 21:02:56 UTC 2014
Author: bdrewery
Date: Thu Dec 18 21:02:55 2014
New Revision: 374921
URL: https://svnweb.freebsd.org/changeset/ports/374921
QAT: https://qat.redports.org/buildarchive/r374921/
Log:
- 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
Modified:
head/net/csocks/Makefile
Modified: head/net/csocks/Makefile
==============================================================================
--- head/net/csocks/Makefile Thu Dec 18 20:54:50 2014 (r374920)
+++ head/net/csocks/Makefile Thu Dec 18 21:02:55 2014 (r374921)
@@ -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
More information about the svn-ports-head
mailing list