aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby16_static
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-11-18 20:02:29 +0800
committerknu <knu@FreeBSD.org>2002-11-18 20:02:29 +0800
commitc9cc5b03cdfaaeaa9b66809680a7f5f7b3bbab5b (patch)
treeec026b7f90cbf350a3e5e3e9bc61cf638d90d6e3 /lang/ruby16_static
parentc7e76f842dbcb99d45b8a029c61601683a99acca (diff)
downloadfreebsd-ports-gnome-c9cc5b03cdfaaeaa9b66809680a7f5f7b3bbab5b.tar.gz
freebsd-ports-gnome-c9cc5b03cdfaaeaa9b66809680a7f5f7b3bbab5b.tar.zst
freebsd-ports-gnome-c9cc5b03cdfaaeaa9b66809680a7f5f7b3bbab5b.zip
Remove an obsolete LANG=C kludge.
Add a knob for debugging.
Diffstat (limited to 'lang/ruby16_static')
-rw-r--r--lang/ruby16_static/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/ruby16_static/Makefile b/lang/ruby16_static/Makefile
index 70c60180121b..478be452c035 100644
--- a/lang/ruby16_static/Makefile
+++ b/lang/ruby16_static/Makefile
@@ -46,7 +46,8 @@ WRKSRC= ${RUBY_WRKSRC}
DESCR= ${_RUBY_PORTDIR}/pkg-descr
# You can build a totally statically linked binary by defining STATIC,
-# although it is not capable of loading dynamic modules.
+# although the resulted interpreter is not capable of loading dynamic
+# modules.
CONFIGURE_ENV= XLDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS!= cd ${_RUBY_PORTDIR} && ${MAKE} -V CONFIGURE_ARGS
@@ -59,7 +60,11 @@ CONFIGURE_ARGS:= ${CONFIGURE_ARGS:M-*} \
--with-opt-dir="${LOCALBASE}"
.endif
-MAKE_ENV= LANG=C # prevent bison 1.33 w/ gettext 0.10.35 from coredumping
+.if defined(DEBUG)
+CFLAGS+= -g
+STRIP= # none
+.endif
+
MAKE_ARGS= -j3
.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}