svn commit: r370719 - head/graphics/apngdis

Danilo Egea Gondolfo danilo at FreeBSD.org
Sun Oct 12 15:03:26 UTC 2014


Author: danilo
Date: Sun Oct 12 15:03:25 2014
New Revision: 370719
URL: https://svnweb.freebsd.org/changeset/ports/370719
QAT: https://qat.redports.org/buildarchive/r370719/

Log:
  - Use options helpers

Modified:
  head/graphics/apngdis/Makefile

Modified: head/graphics/apngdis/Makefile
==============================================================================
--- head/graphics/apngdis/Makefile	Sun Oct 12 15:00:30 2014	(r370718)
+++ head/graphics/apngdis/Makefile	Sun Oct 12 15:03:25 2014	(r370719)
@@ -24,12 +24,7 @@ PLIST_FILES=	bin/${PORTNAME}
 
 STATIC_BUILD_DEPENDS=	${LOCALBASE}/lib/libpng.a:${PORTSDIR}/graphics/png
 STATIC_MAKE_ENV=	STATIC=1
-
-.include <bsd.port.options.mk>
-
-.if ! ${PORT_OPTIONS:MSTATIC}
-LIB_DEPENDS+=	libpng15.so:${PORTSDIR}/graphics/png
-.endif
+STATIC_LIB_DEPENDS_OFF=	libpng15.so:${PORTSDIR}/graphics/png
 
 do-install:
 	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \


More information about the svn-ports-all mailing list