Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2015 23:15:43 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386275 - in head: devel/gzstream graphics/libgfx
Message-ID:  <201505132315.t4DNFh2x079111@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed May 13 23:15:43 2015
New Revision: 386275
URL: https://svnweb.freebsd.org/changeset/ports/386275

Log:
  devel/gzstream: create a proper shared library
  Bump portrevision of dependent ports

Modified:
  head/devel/gzstream/Makefile
  head/graphics/libgfx/Makefile

Modified: head/devel/gzstream/Makefile
==============================================================================
--- head/devel/gzstream/Makefile	Wed May 13 23:15:12 2015	(r386274)
+++ head/devel/gzstream/Makefile	Wed May 13 23:15:43 2015	(r386275)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gzstream
 DISTVERSION=	1.5
-PORTREVISION=	1
+PORTREVISION=	
 CATEGORIES=	devel
 MASTER_SITES=	http://www.skysmurf.nl/comp/FreeBSD/distfiles/
 
@@ -21,11 +21,11 @@ CFLAGS+=	-fPIC -I.
 
 post-patch:
 	@${REINPLACE_CMD} -e 's/=/?=/;s/\.a/.so/g;s/CPPFL/CXXFL/g;\
-		s/{AR}/{CC} $${CFLAGS} -lz -shared -o/' ${WRKSRC}/${MAKEFILE}
+		s/{AR}/{CC} $${CFLAGS} -lz -shared -Wl,-soname=lib${PORTNAME}.so.0 -o/' ${WRKSRC}/${MAKEFILE}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/
-	${LN} -sf lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.0
+	${INSTALL_PROGRAM} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.0
+	${LN} -sf lib${PORTNAME}.so.0 ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.h ${STAGEDIR}${PREFIX}/include/
 
 .include <bsd.port.mk>

Modified: head/graphics/libgfx/Makefile
==============================================================================
--- head/graphics/libgfx/Makefile	Wed May 13 23:15:12 2015	(r386274)
+++ head/graphics/libgfx/Makefile	Wed May 13 23:15:43 2015	(r386275)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libgfx
 DISTVERSION=	1.1.0
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	graphics
 MASTER_SITES=	http://mgarland.org/files/dist/
 



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