Require GNU m4 on all platforms. Fixes PR #31845. Bumped PKGREVISION.

This commit is contained in:
rillig 2005-10-18 20:00:00 +00:00
parent 13aa1e2be6
commit f2a9c721d5

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.16 2005/10/13 20:20:55 rillig Exp $
# $NetBSD: Makefile,v 1.17 2005/10/18 20:00:00 rillig Exp $
#
DISTNAME= ctwm-3.7
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= x11 wm
MASTER_SITES= http://ctwm.free.lp.se/dist/
@ -15,16 +15,12 @@ USE_IMAKE= YES
.include "../../mk/bsd.prefs.mk"
# The Solaris m4 does not understand the -s option.
.if ${OPSYS} == "SunOS"
# We need an m4 that understands the -s option.
USE_TOOLS+= gm4:run
OPSYSVARS+= EXTRA_DEFINES
EXTRA_DEFINES+= -DPATH_TO_M4=\"${TOOLS_PATH.gm4:Q}\"
# The __EXTENSIONS__ is needed for sigjmp_buf.
EXTRA_DEFINES+= -D__EXTENSIONS__
.else
USE_TOOLS+= m4:run
EXTRA_DEFINES+= -DPATH_TO_M4=\"${TOOLS_PATH.m4:Q}\"
.endif
EXTRA_DEFINES.SunOS+= -D__EXTENSIONS__
MAKE_ENV+= EXTRA_DEFINES=${EXTRA_DEFINES:Q}
pre-configure: