From owner-svn-ports-all@FreeBSD.ORG Sat Jul 5 18:55:34 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7FD88583; Sat, 5 Jul 2014 18:55:34 +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 6D0B2232E; Sat, 5 Jul 2014 18:55:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s65ItYRi008456; Sat, 5 Jul 2014 18:55:34 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s65ItY9G008455; Sat, 5 Jul 2014 18:55:34 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201407051855.s65ItY9G008455@svn.freebsd.org> From: John Marino Date: Sat, 5 Jul 2014 18:55:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360798 - head/graphics/gdchart 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.18 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: Sat, 05 Jul 2014 18:55:34 -0000 Author: marino Date: Sat Jul 5 18:55:33 2014 New Revision: 360798 URL: http://svnweb.freebsd.org/changeset/ports/360798 QAT: https://qat.redports.org/buildarchive/r360798/ Log: graphics/gdchart: Replace wrong PROFILE option The profile library gets built if NO_PROFILE is not set. All the PROFILE option was doing was manually changing the pkg-plist which would only work if the PROFILE option was manually synchronized with the make.conf option (they are by default, so it worked accidently). Change PLIST_SUB to switch based on NO_PROFILE as is done with other ports. Modified: head/graphics/gdchart/Makefile Modified: head/graphics/gdchart/Makefile ============================================================================== --- head/graphics/gdchart/Makefile Sat Jul 5 18:53:18 2014 (r360797) +++ head/graphics/gdchart/Makefile Sat Jul 5 18:55:33 2014 (r360798) @@ -23,9 +23,13 @@ USE_LDCONFIG= yes EXAMPLES= ft_samp.c gdc_pie_samp.c gdc_samp1.c gdc_samp2.c -OPTIONS_DEFINE= DOCS EXAMPLES PROFILE -OPTIONS_DEFAULT=PROFILE -OPTIONS_SUB= yes +OPTIONS_DEFINE= DOCS EXAMPLES + +.if defined(NO_PROFILE) +PLIST_SUB+= PROFILE="@comment " +.else +PLIST_SUB+= PROFILE="" +.endif post-patch: ${REINPLACE_CMD} \