Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2014 17:36:28 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370808 - head/graphics/glpng
Message-ID:  <201410131736.s9DHaSOh068621@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Oct 13 17:36:27 2014
New Revision: 370808
URL: https://svnweb.freebsd.org/changeset/ports/370808
QAT: https://qat.redports.org/buildarchive/r370808/

Log:
  - Strip library
  - Fix soname

Modified:
  head/graphics/glpng/Makefile

Modified: head/graphics/glpng/Makefile
==============================================================================
--- head/graphics/glpng/Makefile	Mon Oct 13 17:34:45 2014	(r370807)
+++ head/graphics/glpng/Makefile	Mon Oct 13 17:36:27 2014	(r370808)
@@ -3,7 +3,7 @@
 
 PORTNAME=	glpng
 PORTVERSION=	1.45
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.wyatt100.freeserve.co.uk/ \
 		http://mirror.amdmi3.ru/distfiles/
@@ -25,8 +25,9 @@ WRKSRC=		${WRKDIR}/src
 
 do-build:
 	${CC} ${CFLAGS} -fPIC -I${LOCALBASE}/include -I${WRKDIR}/include -c -o ${WRKSRC}/libglpng.o ${WRKSRC}/glpng.c
-	${CC} ${CFLAGS} -fPIC -L${LOCALBASE}/lib -shared -lGL -lpng -lz -lm -o ${WRKSRC}/libglpng.so.1 ${WRKSRC}/libglpng.o
+	${CC} ${CFLAGS} -fPIC -L${LOCALBASE}/lib -shared -Wl,-soname,libglpng.so.1 -lGL -lpng -lz -lm -o ${WRKSRC}/libglpng.so.1 ${WRKSRC}/libglpng.o
 	${AR} cqs ${WRKSRC}/libglpng.a ${WRKSRC}/libglpng.o
+	${STRIP_CMD} ${WRKSRC}/libglpng.so.1
 
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/libglpng.so.1 ${STAGEDIR}${PREFIX}/lib



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