svn commit: r399755 - head/graphics/pngrewrite
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Oct 19 20:20:23 UTC 2015
Author: sunpoet
Date: Mon Oct 19 20:20:21 2015
New Revision: 399755
URL: https://svnweb.freebsd.org/changeset/ports/399755
Log:
- Use USES=localbase
Modified:
head/graphics/pngrewrite/Makefile
Modified: head/graphics/pngrewrite/Makefile
==============================================================================
--- head/graphics/pngrewrite/Makefile Mon Oct 19 20:20:17 2015 (r399754)
+++ head/graphics/pngrewrite/Makefile Mon Oct 19 20:20:21 2015 (r399755)
@@ -15,16 +15,14 @@ LICENSE= ZLIB
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -lm -lpng -lz
-USES= zip
+USES= localbase zip
NO_WRKSUBDIR= yes
PLIST_FILES= bin/pngrewrite
do-build:
- ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/pngrewrite ${WRKSRC}/libpngrewrite.c ${WRKSRC}/pngrewrite.c
+ ${CC} ${CFLAGS} ${LDFLAGS} -lm -lpng -lz -o ${WRKSRC}/pngrewrite ${WRKSRC}/libpngrewrite.c ${WRKSRC}/pngrewrite.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pngrewrite ${STAGEDIR}${PREFIX}/bin/
More information about the svn-ports-all
mailing list