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.
This commit is contained in:
reed 2008-04-15 02:27:54 +00:00
parent 79d0d45f69
commit 2bdbb4ba6f

View file

@ -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"