aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/glpng/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/glpng/Makefile')
-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/