svn commit: r392945 - head/graphics/glpng
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Jul 26 20:03:35 UTC 2015
Author: amdmi3
Date: Sun Jul 26 20:03:34 2015
New Revision: 392945
URL: https://svnweb.freebsd.org/changeset/ports/392945
Log:
- Fix library installation
Modified:
head/graphics/glpng/Makefile
Modified: head/graphics/glpng/Makefile
==============================================================================
--- head/graphics/glpng/Makefile Sun Jul 26 19:19:41 2015 (r392944)
+++ head/graphics/glpng/Makefile Sun Jul 26 20:03:34 2015 (r392945)
@@ -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/
More information about the svn-ports-all
mailing list