Change 'USE_LANGUAGES+= c++' to 'USE_LANGUAGES= c c++'. It seems that

'c' isn't in USE_LANGUAGES by default, and this cause the configure
script to fail (I still don't know why it works for me).
Pointed out by Martti Kuparinen in private mail, and Robert Elz in
PR pkg/35064.
This commit is contained in:
bouyer 2006-11-17 19:51:20 +00:00
parent b1aefa2e8f
commit a591ad7a3e

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.45 2006/11/15 21:46:24 bouyer Exp $
# $NetBSD: Makefile,v 1.46 2006/11/17 19:51:20 bouyer Exp $
DISTNAME= apcupsd-3.12.4
CATEGORIES= sysutils
@ -9,7 +9,7 @@ HOMEPAGE= http://www.apcupsd.org/
COMMENT= UPS power management for APCC Products
USE_TOOLS+= gmake msgfmt sh
USE_LANGUAGES+= c++
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes