pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/tme don't --disable-debug if CFLAGS contains...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0feaa2ab3e19
branches:  trunk
changeset: 405725:0feaa2ab3e19
user:      mrg <mrg%pkgsrc.org@localhost>
date:      Fri Dec 06 05:38:02 2019 +0000

description:
don't --disable-debug if CFLAGS contains -g.

diffstat:

 emulators/tme/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 54c831df2306 -r 0feaa2ab3e19 emulators/tme/Makefile
--- a/emulators/tme/Makefile    Fri Dec 06 00:15:39 2019 +0000
+++ b/emulators/tme/Makefile    Fri Dec 06 05:38:02 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2019/08/11 13:20:58 wiz Exp $
+# $NetBSD: Makefile,v 1.72 2019/12/06 05:38:02 mrg Exp $
 #
 
 DISTNAME=              tme-0.8
@@ -18,7 +18,10 @@
 GNU_CONFIGURE=         yes
 USE_TOOLS+=            gmake perl:run pkg-config yacc
 
+.if empty(CFLAGS:M*-g*)
 CONFIGURE_ARGS+=       --disable-debug
+.endif
+
 # XXX Turn off -Werror for now; there are a very very large number of
 # warnings generated, increasing with every compiler version.
 CONFIGURE_ARGS+=       --disable-warnings



Home | Main Index | Thread Index | Old Index