aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-10-14 01:36:27 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-10-14 01:36:27 +0800
commit6507c6b15a78f1bdbc848e6260733dbc9265df72 (patch)
treedd8bf6380bfdeb96a5d1bf80c5b8f891a2b0bc2a /graphics
parent4de4169cf1521e31fa91b758abbd46c9f7407155 (diff)
downloadfreebsd-ports-gnome-6507c6b15a78f1bdbc848e6260733dbc9265df72.tar.gz
freebsd-ports-gnome-6507c6b15a78f1bdbc848e6260733dbc9265df72.tar.zst
freebsd-ports-gnome-6507c6b15a78f1bdbc848e6260733dbc9265df72.zip
- Strip library
- Fix soname
Diffstat (limited to 'graphics')
-rw-r--r--graphics/glpng/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/glpng/Makefile b/graphics/glpng/Makefile
index 2a12a6b75012..40fb56661117 100644
--- a/graphics/glpng/Makefile
+++ b/graphics/glpng/Makefile
@@ -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