Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2014 13:43:10 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360901 - head/textproc/libxml2-reference
Message-ID:  <201407061343.s66DhB4g006028@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Jul  6 13:43:10 2014
New Revision: 360901
URL: http://svnweb.freebsd.org/changeset/ports/360901
QAT: https://qat.redports.org/buildarchive/r360901/

Log:
  Use options helpers for PLIST_FILES and PLIST_DIRS that avoid including options.mk before
  bsd.gnome-references.mk which would lead in PKGCATEGORY not being set and thus break PKGORIGIN

Modified:
  head/textproc/libxml2-reference/Makefile

Modified: head/textproc/libxml2-reference/Makefile
==============================================================================
--- head/textproc/libxml2-reference/Makefile	Sun Jul  6 13:40:29 2014	(r360900)
+++ head/textproc/libxml2-reference/Makefile	Sun Jul  6 13:43:10 2014	(r360901)
@@ -12,13 +12,9 @@ MAKE_ARGS=	DOC_MODULE=libxml2 EXAMPLES_D
 
 OPTIONS_DEFINE=	EXAMPLES
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MEXAMPLES}
 EXAMPLES=	testHTML.c testSAX.c testXPath.c xmllint.c
-PLIST_FILES=	${EXAMPLES:S|^|%%EXAMPLESDIR%%/|}
-PLIST_DIRS=	%%EXAMPLESDIR%%
-.endif
+EXAMPLES_PLIST_FILES=	${EXAMPLES:S|^|%%EXAMPLESDIR%%/|}
+EXAMPLES_PLIST_DIRS=	%%EXAMPLESDIR%%
 
 do-install:
 .for d in . doc doc/examples



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407061343.s66DhB4g006028>