Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2017 12:36:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221938] graphics/potrace: Update to 1.15, add support for building libpotrace
Message-ID:  <bug-221938-13-u4H1JVlDpi@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221938-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221938-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221938

--- Comment #2 from Tobias Kortkamp <tobik@freebsd.org> ---
Before I forget, please use options helpers. This

+.include <bsd.port.options.mk>
...
+.if ${PORT_OPTIONS:MLIBRARY}
+USE_LDCONFIG+=3D yes
+USES+=3D         libtool
+INSTALL_TARGET=3D        install-strip
+PLIST_SUB+=3D    LIBRARY=3D""
+.else
+PLIST_SUB+=3D    LIBRARY=3D"@comment "
+.endif

can be

OPTIONS_SUB=3D    yes
LIBRARY_USE=3D    LDCONFIG=3Dyes
LIBRARY_USES=3D   libtool
LIBRARY_INSTALL_TARGET=3D install-strip

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221938-13-u4H1JVlDpi>