From owner-svn-ports-all@FreeBSD.ORG Tue Apr 22 18:40:24 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AB89053B; Tue, 22 Apr 2014 18:40:24 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 98B191AFD; Tue, 22 Apr 2014 18:40:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3MIeOId071368; Tue, 22 Apr 2014 18:40:24 GMT (envelope-from rene@svn.freebsd.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3MIeOEG071367; Tue, 22 Apr 2014 18:40:24 GMT (envelope-from rene@svn.freebsd.org) Message-Id: <201404221840.s3MIeOEG071367@svn.freebsd.org> From: Rene Ladan Date: Tue, 22 Apr 2014 18:40:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351871 - head/graphics/libwmf X-SVN-Group: ports-head 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.17 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: Tue, 22 Apr 2014 18:40:24 -0000 Author: rene Date: Tue Apr 22 18:40:24 2014 New Revision: 351871 URL: http://svnweb.freebsd.org/changeset/ports/351871 QAT: https://qat.redports.org/buildarchive/r351871/ Log: - Fix package build as non-root - Use option helpers Note that the CONFLICT with the -nox11 variant is not registered anymore. PR: ports/188785 Submitted by: John Hein Modified: head/graphics/libwmf/Makefile Modified: head/graphics/libwmf/Makefile ============================================================================== --- head/graphics/libwmf/Makefile Tue Apr 22 18:31:13 2014 (r351870) +++ head/graphics/libwmf/Makefile Tue Apr 22 18:40:24 2014 (r351871) @@ -29,20 +29,12 @@ PORTDOCS= * OPTIONS_DEFINE= X11 OPTIONS_DEFAULT=X11 +OPTIONS_SUB= yes +X11_USE= XORG=x11 +X11_CONFIGURE_OFF=--with-x=no .include -.if ${PORT_OPTIONS:MX11} -USE_XORG= x11 -PLIST_SUB+= X11="" -CONFLICTS+= libwmf-nox11-0.* -.else -PKGNAMESUFFIX= -nox11 -CONFIGURE_ARGS+= --with-x=no -PLIST_SUB+= X11="@comment " -CONFLICTS+= libwmf-0.* -.endif - post-patch: @${REINPLACE_CMD} -e 's|src include fonts doc|src include fonts|g' \ ${WRKSRC}/Makefile.in @@ -57,7 +49,6 @@ post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${TAR} -C ${WRKSRC}/doc --exclude '*Makefile*' -cf - . | \ ${TAR} -C ${STAGEDIR}${DOCSDIR} --unlink -xf - - @${CHOWN} -R ${SHAREOWN}:${SHAREGROUP} ${STAGEDIR}${DOCSDIR} .endif .include