aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-10-12 15:03:25 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-10-12 15:03:25 +0000
commitc47a89e9caf42f13885fc59a921f17709c9f2379 (patch)
treecb93a3760b501790ae340cdb7b727a75581a64e9 /graphics
parent2fcf01af1eea16bc317e6ec87cb676d46cf8671e (diff)
downloadports-c47a89e9caf42f13885fc59a921f17709c9f2379.tar.gz
ports-c47a89e9caf42f13885fc59a921f17709c9f2379.zip
- Use options helpers
Notes
Notes: svn path=/head/; revision=370719
Diffstat (limited to 'graphics')
-rw-r--r--graphics/apngdis/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/graphics/apngdis/Makefile b/graphics/apngdis/Makefile
index 4fc6e2d39f9d..3aa741b93198 100644
--- a/graphics/apngdis/Makefile
+++ b/graphics/apngdis/Makefile
@@ -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} \