diff options
author | mat <mat@FreeBSD.org> | 2015-08-19 21:29:59 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-08-19 21:29:59 +0800 |
commit | 9d30f78a00bed11384c7259f662e9352754275db (patch) | |
tree | ac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /benchmarks/gtkperf | |
parent | 996088dedaf9d22bcd7c90caa96d33c0f68b08e7 (diff) | |
download | freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.gz freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.zst freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.zip |
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3412?
Diffstat (limited to 'benchmarks/gtkperf')
-rw-r--r-- | benchmarks/gtkperf/Makefile | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/benchmarks/gtkperf/Makefile b/benchmarks/gtkperf/Makefile index e68232208e8a..36295a2a52c4 100644 --- a/benchmarks/gtkperf/Makefile +++ b/benchmarks/gtkperf/Makefile @@ -17,18 +17,11 @@ GNU_CONFIGURE= yes USE_GNOME= gtk20 gnomeprefix OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext iconv -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ARGS+= --enable-nls -PLIST_SUB= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB= NLS="@comment " -.endif +NLS_USES= gettext iconv +NLS_CPPFLAGS= -I${LOCALBASE}/include +NLS_LDFLAGS= -L${LOCALBASE}/lib +NLS_CONFIGURE_ENABLE= nls .include <bsd.port.mk> |