summaryrefslogtreecommitdiff
path: root/x11/xkeyboard-config
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2008-04-15 02:27:54 +0000
committerreed <reed@pkgsrc.org>2008-04-15 02:27:54 +0000
commit2bdbb4ba6fcae832f8557c87fc8bfe433ec307a5 (patch)
tree9399b462ad28d6daa9b21e7a48fa955eb9b56451 /x11/xkeyboard-config
parent79d0d45f69be77a981f2cf6a3232024f32f89e2d (diff)
downloadpkgsrc-2bdbb4ba6fcae832f8557c87fc8bfe433ec307a5.tar.gz
Fix PR #38430 -- needs C compiler for configure stage.
(Why does that work on NetBSD though without this change?) Also for configure needs gettext headers (so build only/no dependency). Noticed on DragonFly.
Diffstat (limited to 'x11/xkeyboard-config')
-rw-r--r--x11/xkeyboard-config/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/xkeyboard-config/Makefile b/x11/xkeyboard-config/Makefile
index 6b2434b7246..bb63d871a9b 100644
--- a/x11/xkeyboard-config/Makefile
+++ b/x11/xkeyboard-config/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2008/02/07 06:31:23 bjs Exp $
+# $NetBSD: Makefile,v 1.7 2008/04/15 02:27:54 reed Exp $
#
DISTNAME= xkeyboard-config-1.2
@@ -15,7 +15,6 @@ PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS+= xkbdata-[0-9]*
GNU_CONFIGURE= yes
-USE_LANGUAGES= # none
USE_LIBTOOL= yes
USE_TOOLS+= gmake intltool perl:build
USE_TOOLS+= msgfmt xgettext
@@ -56,4 +55,7 @@ FILES_SUBST+= XKBCOMPDIR_SYMLINK=${XKBCOMPDIR_SYMLINK:Q}
OWN_DIRS+= ${XKBCOMPDIR}
+BUILDLINK_DEPMETHOD.gettext= build # for the configure only
+.include "../../devel/gettext-lib/buildlink3.mk"
+
.include "../../mk/bsd.pkg.mk"