SF.net SVN: gar:[22998] csw/mgar/pkg/ruby19/trunk/Makefile
chninkel at users.sourceforge.net
chninkel at users.sourceforge.net
Wed Feb 12 15:16:19 CET 2014
Revision: 22998
http://sourceforge.net/p/gar/code/22998
Author: chninkel
Date: 2014-02-12 14:16:16 +0000 (Wed, 12 Feb 2014)
Log Message:
-----------
ruby19/trunk: avoid using gobjcopy which corrupts Solaris elf information in binaries
Modified Paths:
--------------
csw/mgar/pkg/ruby19/trunk/Makefile
Modified: csw/mgar/pkg/ruby19/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ruby19/trunk/Makefile 2014-02-12 08:31:45 UTC (rev 22997)
+++ csw/mgar/pkg/ruby19/trunk/Makefile 2014-02-12 14:16:16 UTC (rev 22998)
@@ -133,6 +133,12 @@
CONFIGURE_ARGS += --with-soname=ruby$(API_VERSION)
CONFIGURE_ARGS += --with-out-ext=tk
+# gobjcopy (both the OpenCSW and SFW one) corrupts the ruby library
+# (see https://blogs.oracle.com/mandy/entry/building_ruby_1_9_on)
+# We disable objcopy (same workaround as in pkgsrc
+# https://github.com/jsonn/pkgsrc/blob/trunk/lang/ruby193-base/Makefile#L44)
+EXTRA_CONFIGURE_ENV += OBJCOPY=:
+
EXTRA_INC = $(prefix)/X11/include
EXTRA_LIB = $(prefix)/X11/lib
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list