aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-08-31 11:58:11 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-08-31 11:58:11 +0800
commitb75bc202b1280614dda22a63730f0a49741d3898 (patch)
tree7b40ee6594374849122382a717d438536a40850a /lang
parentb5636f23334e8f2fa6a319ddbad8ebb08d73c0d3 (diff)
downloadfreebsd-ports-gnome-b75bc202b1280614dda22a63730f0a49741d3898.tar.gz
freebsd-ports-gnome-b75bc202b1280614dda22a63730f0a49741d3898.tar.zst
freebsd-ports-gnome-b75bc202b1280614dda22a63730f0a49741d3898.zip
- remove extra -g from CFLAGS
- WITH_DEBUG is handled in Mk/bsd.port.mk PR: ports/146863 Submitted by: Anonymous <swell.k@gmail.com> Silence from: stas (maintainer)
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby18/Makefile5
-rw-r--r--lang/ruby19/Makefile8
2 files changed, 2 insertions, 11 deletions
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile
index 7300a5f56d6a..51d567f362d5 100644
--- a/lang/ruby18/Makefile
+++ b/lang/ruby18/Makefile
@@ -83,11 +83,6 @@ PLIST_SUB+= ONIGURUMA=""
PLIST_SUB+= ONIGURUMA="@comment "
.endif
-.if defined(WITH_DEBUG)
-CFLAGS+= -g
-STRIP= # none
-.endif
-
#
# Disable doc generation if requested or docs disabled at all
#
diff --git a/lang/ruby19/Makefile b/lang/ruby19/Makefile
index daac2f2f3621..7bcc4a293bb1 100644
--- a/lang/ruby19/Makefile
+++ b/lang/ruby19/Makefile
@@ -63,11 +63,6 @@ PKGNAMESUFFIX= #empty
CFLAGS+= ${PTHREAD_CFLAGS} # Keep this, else ruby will fail to load
LDFLAGS+= ${PTHREAD_LIBS} # libraries dependent op libpthread.
-.if defined(WITH_DEBUG)
-CFLAGS+= -g
-STRIP= # none
-.endif
-
#
# Disable doc generation if requested or docs disabled at all
#
@@ -78,7 +73,8 @@ CONFIGURE_ARGS+= --disable-install-doc
.endif
CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
- LIBS="${LDFLAGS}"
+ LIBS="${LDFLAGS}" \
+ debugflags=
.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}
MLINKS= ${RUBY_NAME}.1 ruby.1