Date: Sun, 22 Oct 2017 10:17:26 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r452630 - head/multimedia/libvdpau Message-ID: <201710221017.v9MAHQdP086261@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Sun Oct 22 10:17:26 2017 New Revision: 452630 URL: https://svnweb.freebsd.org/changeset/ports/452630 Log: Correct port WITH_DEBUG support and simplify Makefile. Modified: head/multimedia/libvdpau/Makefile Modified: head/multimedia/libvdpau/Makefile ============================================================================== --- head/multimedia/libvdpau/Makefile Sun Oct 22 10:09:33 2017 (r452629) +++ head/multimedia/libvdpau/Makefile Sun Oct 22 10:17:26 2017 (r452630) @@ -16,23 +16,14 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-documentation USE_XORG= dri2proto xext USE_LDCONFIG= yes +INSTALL_TARGET= install-strip OPTIONS_DEFINE= DEBUG -.include <bsd.port.options.mk> +DEBUG_CFLAGS= -D_DEBUG +DEBUG_VARS= WITH_DEBUG=yes +DEBUG_CFLAGS_OFF= -DNDEBUG -.if ${PORT_OPTIONS:MDEBUG} -CFLAGS+= -D_DEBUG -.else -CFLAGS+= -DNDEBUG -.endif - -.include <bsd.port.pre.mk> - -.if defined(STRIP) && ${STRIP} != "" -INSTALL_TARGET= install-strip -.endif - post-patch: .SILENT ${REINPLACE_CMD} 's|$$(libdir)/\(pkgconfig\)|$$(prefix)/libdata/\1|' \ ${WRKSRC}/Makefile.am @@ -41,4 +32,4 @@ post-patch: .SILENT ${REINPLACE_CMD} 's/vdpau_wrapper.cfg/&.sample/' \ ${WRKSRC}/src/Makefile.am -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710221017.v9MAHQdP086261>