aboutsummaryrefslogtreecommitdiff
path: root/x11/xkeyboard-config/Makefile
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2012-02-29 22:53:20 +0000
committerJuergen Lock <nox@FreeBSD.org>2012-02-29 22:53:20 +0000
commitcb0378f90ce5e342208d84fbebc4cb297e26d315 (patch)
tree2063c08879f5d627b63d5580e990cd943c6f17c9 /x11/xkeyboard-config/Makefile
parent9ffea18152a7c250b6b4ef027195852f505054e3 (diff)
downloadports-cb0378f90ce5e342208d84fbebc4cb297e26d315.tar.gz
ports-cb0378f90ce5e342208d84fbebc4cb297e26d315.zip
Notes
Diffstat (limited to 'x11/xkeyboard-config/Makefile')
-rw-r--r--x11/xkeyboard-config/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11/xkeyboard-config/Makefile b/x11/xkeyboard-config/Makefile
index b40a0c247b55..c699bd4f5cda 100644
--- a/x11/xkeyboard-config/Makefile
+++ b/x11/xkeyboard-config/Makefile
@@ -42,6 +42,9 @@ PLIST_SUB+= NLS=""
.endif
post-patch:
+.if defined(WITHOUT_NLS)
+ @${REINPLACE_CMD} '/^SUBDIR/s/ po//' ${WRKSRC}/Makefile.in
+.endif
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' -e 's|==|=|g' \
${WRKSRC}/rules/merge.sh