Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2014 21:02:55 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374921 - head/net/csocks
Message-ID:  <201412182102.sBIL2tfY082371@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412182102.sBIL2tfY082371>