summaryrefslogtreecommitdiff
path: root/wm/ctwm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'wm/ctwm/Makefile')
-rw-r--r--wm/ctwm/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/wm/ctwm/Makefile b/wm/ctwm/Makefile
index 368c1154470..1f402be409c 100644
--- a/wm/ctwm/Makefile
+++ b/wm/ctwm/Makefile
@@ -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: