- 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:
parent
27df3c0780
commit
4b4c51a119
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374921
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue