- 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
This commit is contained in:
Bryan Drewery 2014-12-18 21:02:55 +00:00
parent 27df3c0780
commit 4b4c51a119
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374921

View file

@ -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