summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorreed <reed>2008-04-15 02:27:54 +0000
committerreed <reed>2008-04-15 02:27:54 +0000
commit66ad56d4385c74eeaa0a47eb0fb678afdf83de42 (patch)
tree9399b462ad28d6daa9b21e7a48fa955eb9b56451 /x11
parent156f4c31659285e135892a6c863045806fa9b5b2 (diff)
downloadpkgsrc-66ad56d4385c74eeaa0a47eb0fb678afdf83de42.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')
-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"