pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xkeyboard-config Fix PR #38430 -- needs C compiler...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fefebd798791
branches:  trunk
changeset: 541085:fefebd798791
user:      reed <reed%pkgsrc.org@localhost>
date:      Tue Apr 15 02:27:54 2008 +0000

description:
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:

 x11/xkeyboard-config/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r dd3265058da8 -r fefebd798791 x11/xkeyboard-config/Makefile
--- a/x11/xkeyboard-config/Makefile     Mon Apr 14 23:52:13 2008 +0000
+++ b/x11/xkeyboard-config/Makefile     Tue Apr 15 02:27:54 2008 +0000
@@ -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 @@
 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 @@
 
 OWN_DIRS+=             ${XKBCOMPDIR}
 
+BUILDLINK_DEPMETHOD.gettext=   build   # for the configure only
+.include "../../devel/gettext-lib/buildlink3.mk"
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index