Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2014 15:03:25 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370719 - head/graphics/apngdis
Message-ID:  <201410121503.s9CF3Puu099864@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410121503.s9CF3Puu099864>