summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2018-10-23 16:53:37 +0000
committerjperkin <jperkin@pkgsrc.org>2018-10-23 16:53:37 +0000
commit300c8aedcf315fdef3246651fc8f3deec4a8e472 (patch)
tree58d331532e71f4a283a13334742ec26fd4f0dc4d /wm
parentfb47ebcdd4f457e0840a4f39c715d3f1faa69d03 (diff)
downloadpkgsrc-300c8aedcf315fdef3246651fc8f3deec4a8e472.tar.gz
ctwm: Set CFLAGS in the normal way. Fixes SunOS.
Diffstat (limited to 'wm')
-rw-r--r--wm/ctwm/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/wm/ctwm/Makefile b/wm/ctwm/Makefile
index 0120c639ee5..b7186f78119 100644
--- a/wm/ctwm/Makefile
+++ b/wm/ctwm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2018/09/22 07:00:38 maya Exp $
+# $NetBSD: Makefile,v 1.37 2018/10/23 16:53:37 jperkin Exp $
#
DISTNAME= ctwm-4.0.2
@@ -22,12 +22,9 @@ TOOLS_PLATFORM.gm4?= ${TOOLS_PLATFORM.m4}
. endif
.endif
USE_TOOLS+= gm4:run
-OPSYSVARS+= EXTRA_DEFINES
-# The __EXTENSIONS__ is needed for sigjmp_buf.
-EXTRA_DEFINES.SunOS+= -D__EXTENSIONS__
-MAKE_ENV+= EXTRA_DEFINES=${EXTRA_DEFINES:Q}
AUTO_MKDIRS= yes
+CFLAGS.SunOS+= -D__EXTENSIONS__
# If M4_CMD is not set, it is autodetected as ${WRKDIR}/.tools/bin/m4
CMAKE_ARGS+= -DM4_CMD=${TOOLS_PATH.gm4}