From 5005b67362a735dc18d3d85170eae34e1fb6feab Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Mon, 10 Feb 2014 13:54:26 +0000 Subject: According to the Porter's Handbook (5.12.2.3.) default options must be added to OPTIONS_DEFINE. This policy has been implemented only recently that's why we have many ports violating this policy. This patch adds the default options specified in the Porter's Handbook to OPTIONS_DEFINE where they are being used. Ports maintained by gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded. Approved by: portmgr (bapt) --- benchmarks/blogbench/Makefile | 2 ++ benchmarks/bonnie++/Makefile | 2 ++ benchmarks/gtkperf/Makefile | 2 ++ benchmarks/super-smack/Makefile | 3 +++ 4 files changed, 9 insertions(+) (limited to 'benchmarks') diff --git a/benchmarks/blogbench/Makefile b/benchmarks/blogbench/Makefile index c17c1e989781..7b89d9c10222 100644 --- a/benchmarks/blogbench/Makefile +++ b/benchmarks/blogbench/Makefile @@ -19,6 +19,8 @@ PORTDOCS= README NO_STAGE= yes +OPTIONS_DEFINE= DOCS + .include post-install: diff --git a/benchmarks/bonnie++/Makefile b/benchmarks/bonnie++/Makefile index ff087318092a..d8523228ae56 100644 --- a/benchmarks/bonnie++/Makefile +++ b/benchmarks/bonnie++/Makefile @@ -23,6 +23,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-1.97.1 PORTDOCS= readme.html +OPTIONS_DEFINE= DOCS + .include post-patch: diff --git a/benchmarks/gtkperf/Makefile b/benchmarks/gtkperf/Makefile index 61381ebcf1c4..5d136b2b71d0 100644 --- a/benchmarks/gtkperf/Makefile +++ b/benchmarks/gtkperf/Makefile @@ -16,6 +16,8 @@ USES= gmake pkgconfig GNU_CONFIGURE= yes USE_GNOME= gtk20 gnomeprefix +OPTIONS_DEFINE= NLS + .include .if ${PORT_OPTIONS:MNLS} diff --git a/benchmarks/super-smack/Makefile b/benchmarks/super-smack/Makefile index 6c5d164b2fca..1fcb13c146b8 100644 --- a/benchmarks/super-smack/Makefile +++ b/benchmarks/super-smack/Makefile @@ -24,6 +24,9 @@ PGSQL_DESC= Enable PostgreSQL support MYSQL_DESC= Enable MySQL support NO_STAGE= yes + +OPTIONS_DEFINE= DOCS + .include .if ${PORT_OPTIONS:MMYSQL} -- cgit v1.2.3