aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/glpng
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-07-27 04:03:34 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-07-27 04:03:34 +0800
commit2c33360f40cc1333795e80ee9069ac14bf229e51 (patch)
tree3a8e5926b33c74280ab28af7438739f9a109a818 /graphics/glpng
parent45773c78051219f727f260e7959d8f5dcdbbf200 (diff)
downloadfreebsd-ports-gnome-2c33360f40cc1333795e80ee9069ac14bf229e51.tar.gz
freebsd-ports-gnome-2c33360f40cc1333795e80ee9069ac14bf229e51.tar.zst
freebsd-ports-gnome-2c33360f40cc1333795e80ee9069ac14bf229e51.zip
- Fix library installation
Diffstat (limited to 'graphics/glpng')
-rw-r--r--graphics/glpng/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/graphics/glpng/Makefile b/graphics/glpng/Makefile
index 6a6cc39dfe7f..27df09d8d68f 100644
--- a/graphics/glpng/Makefile
+++ b/graphics/glpng/Makefile
@@ -29,10 +29,9 @@ 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 -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
+ ${INSTALL_LIB} ${WRKSRC}/libglpng.so.1 ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/libglpng.a ${STAGEDIR}${PREFIX}/lib
${LN} -sf libglpng.so.1 ${STAGEDIR}${PREFIX}/lib/libglpng.so
${MKDIR} ${STAGEDIR}${PREFIX}/include/GL/