Date: Mon, 19 Oct 2015 20:20:21 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399755 - head/graphics/pngrewrite Message-ID: <201510192020.t9JKKMbk028641@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510192020.t9JKKMbk028641>