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) --- cad/cascade/Makefile | 2 ++ cad/cider/Makefile | 2 ++ cad/gdsreader/Makefile | 2 ++ cad/geda-gattrib/Makefile | 2 ++ cad/geda-gschem/Makefile | 2 ++ cad/kicad/Makefile | 3 +++ cad/libgeda/Makefile | 2 ++ 7 files changed, 15 insertions(+) (limited to 'cad') diff --git a/cad/cascade/Makefile b/cad/cascade/Makefile index 382ecbb0b2a0..c28e0273155e 100644 --- a/cad/cascade/Makefile +++ b/cad/cascade/Makefile @@ -19,6 +19,8 @@ MAN1= cascade.1 NO_STAGE= yes +OPTIONS_DEFINE= DOCS EXAMPLES + .include do-install: diff --git a/cad/cider/Makefile b/cad/cider/Makefile index 8de3a3f5c266..7621669beb15 100644 --- a/cad/cider/Makefile +++ b/cad/cider/Makefile @@ -22,6 +22,8 @@ USE_XORG= xt xaw xmu NO_STAGE= yes +OPTIONS_DEFINE= DOCS + .include pre-patch: diff --git a/cad/gdsreader/Makefile b/cad/gdsreader/Makefile index ceca6fa8424d..feae2f2c1fdd 100644 --- a/cad/gdsreader/Makefile +++ b/cad/gdsreader/Makefile @@ -20,6 +20,8 @@ PLIST_DIRS= ${EXAMPLESDIR_REL} NO_STAGE= yes +OPTIONS_DEFINE= DOCS + .include post-install: diff --git a/cad/geda-gattrib/Makefile b/cad/geda-gattrib/Makefile index 236f807f0685..2f0101fe5071 100644 --- a/cad/geda-gattrib/Makefile +++ b/cad/geda-gattrib/Makefile @@ -29,6 +29,8 @@ CONFIGURE_ARGS= --with-docdir="${DOCSDIR}" --disable-update-mime-database \ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +OPTIONS_DEFINE= NLS + .include .if ${PORT_OPTIONS:MNLS} diff --git a/cad/geda-gschem/Makefile b/cad/geda-gschem/Makefile index 777decfd030f..c19de150f8df 100644 --- a/cad/geda-gschem/Makefile +++ b/cad/geda-gschem/Makefile @@ -30,6 +30,8 @@ CONFIGURE_ARGS= --enable-gdgeda --with-docdir=${DOCSDIR} \ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +OPTIONS_DEFINE= NLS + .include .if ${PORT_OPTIONS:MNLS} diff --git a/cad/kicad/Makefile b/cad/kicad/Makefile index a7b3c367169a..6d6510df5f23 100644 --- a/cad/kicad/Makefile +++ b/cad/kicad/Makefile @@ -39,6 +39,9 @@ WRKSRC= ${WRKDIR}/${SFNAME} PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||} NO_STAGE= yes + +OPTIONS_DEFINE= DOCS NLS + .include .if ${PORT_OPTIONS:MNLS} diff --git a/cad/libgeda/Makefile b/cad/libgeda/Makefile index c1c125f295e5..78d0c4085701 100644 --- a/cad/libgeda/Makefile +++ b/cad/libgeda/Makefile @@ -24,6 +24,8 @@ CONFIGURE_ARGS= --disable-update-mime-database \ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +OPTIONS_DEFINE= NLS + .include .if ${PORT_OPTIONS:MNLS} -- cgit v1.2.3