summaryrefslogtreecommitdiff
path: root/lang/ruby19
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-08-31 03:58:11 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-08-31 03:58:11 +0000
commitf2a11ee0e9ae6fd2cf8b4cac09d505762a1e208c (patch)
tree78cff9b55d280f82c89c121f0f20587ade5f5cfc /lang/ruby19
parent- Pass to apache@ (diff)
- 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)
Notes
Notes: svn path=/head/; revision=260253
Diffstat (limited to 'lang/ruby19')
-rw-r--r--lang/ruby19/Makefile8
1 files changed, 2 insertions, 6 deletions
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