pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/ctwm ctwm: Set CFLAGS in the normal way. Fixes SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1865e162d5da
branches:  trunk
changeset: 314286:1865e162d5da
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Oct 23 16:53:37 2018 +0000

description:
ctwm: Set CFLAGS in the normal way.  Fixes SunOS.

diffstat:

 wm/ctwm/Makefile |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (23 lines):

diff -r b2f8c78bf3d6 -r 1865e162d5da wm/ctwm/Makefile
--- a/wm/ctwm/Makefile  Tue Oct 23 16:39:29 2018 +0000
+++ b/wm/ctwm/Makefile  Tue Oct 23 16:53:37 2018 +0000
@@ -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 @@
 .  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}



Home | Main Index | Thread Index | Old Index