aboutsummaryrefslogtreecommitdiff
path: root/x11/xlockmore
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2015-02-02 23:31:18 +0000
committerJason Helfman <jgh@FreeBSD.org>2015-02-02 23:31:18 +0000
commit153e8b7ea207f8007ef924077e60a5eefef0a895 (patch)
tree697b46aa84f39053b9bd3650cd8ec7acc8247b59 /x11/xlockmore
parent49a9c7a774d9838955559aec61ada4b3dce94d7a (diff)
downloadports-153e8b7ea207f8007ef924077e60a5eefef0a895.tar.gz
ports-153e8b7ea207f8007ef924077e60a5eefef0a895.zip
- restore variable set in /etc/make.conf
Submitted by: bapt@
Notes
Notes: svn path=/head/; revision=378339
Diffstat (limited to 'x11/xlockmore')
-rw-r--r--x11/xlockmore/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index e6291993269e..808b43ec41af 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -97,11 +97,14 @@ CONFIGURE_ARGS+= --enable-use-mb
.if ${PORT_OPTIONS:MJP}
XLOCKMORE_LANG= ja
-CONFIGURE_ARGS+= --with-lang=${XLOCKMORE_LANG}
CATEGORIES+= japanese
PORT_OPTIONS+= MB
.endif
+.if defined(XLOCKMORE_LANG)
+CONFIGURE_ARGS+= --with-lang=${XLOCKMORE_LANG}
+.endif
+
.if ${PORT_OPTIONS:MSYSLOG}
CONFIGURE_ARGS+= --enable-syslog
.endif