From owner-svn-ports-all@freebsd.org Sun Oct 22 10:17:27 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8B82E4EDAA; Sun, 22 Oct 2017 10:17:27 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 863909D8; Sun, 22 Oct 2017 10:17:27 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9MAHQSt086262; Sun, 22 Oct 2017 10:17:26 GMT (envelope-from madpilot@FreeBSD.org) Received: (from madpilot@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9MAHQdP086261; Sun, 22 Oct 2017 10:17:26 GMT (envelope-from madpilot@FreeBSD.org) Message-Id: <201710221017.v9MAHQdP086261@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: madpilot set sender to madpilot@FreeBSD.org using -f From: Guido Falsi Date: Sun, 22 Oct 2017 10:17:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r452630 - head/multimedia/libvdpau X-SVN-Group: ports-head X-SVN-Commit-Author: madpilot X-SVN-Commit-Paths: head/multimedia/libvdpau X-SVN-Commit-Revision: 452630 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Oct 2017 10:17:27 -0000 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 +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 - -.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 +.include