head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.38 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.36 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.34 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.32 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.30 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.28 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.26 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.24 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.22 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.20 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.18 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.16 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.14 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.12 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.10 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.8 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.6 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.4 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.2 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.2.0.2 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.1.1.1.0.4 pkgsrc-2005Q2-base:1.1.1.1 pkgsrc-2005Q1:1.1.1.1.0.2 pkgsrc-2005Q1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2005.11.03.06.28.28; author taca; state dead; branches; next 1.2; 1.2 date 2005.09.18.13.36.30; author taca; state Exp; branches; next 1.1; 1.1 date 2005.03.06.16.36.08; author taca; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2005.03.06.16.36.08; author taca; state Exp; branches 1.1.1.1.4.1; next ; 1.1.1.1.4.1 date 2005.09.22.16.56.47; author salo; state Exp; branches; next ; desc @@ 1.3 log @Remove ruby16-base package. It's time to say good-bye. @ text @$NetBSD: patch-ab,v 1.2 2005/09/18 13:36:30 taca Exp $ --- configure.orig 2002-11-19 11:49:26.000000000 +0000 +++ configure @@@@ -29,6 +29,8 @@@@ ac_help="$ac_help --with-sitedir=DIR site libraries in DIR [PREFIX/lib/ruby/site_ruby]" ac_help="$ac_help --with-search-path=DIR specify the additional search path" +ac_help="$ac_help +--enable-pthread use pthread library." # Initialize some variables set by options. # The variables have the same names as the options, with @@@@ -2324,6 +2326,8 @@@@ os2_emx*) LIBS="-lm $LIBS" ac_cv_lib_dir_opendir=no;; msdosdjgpp*) LIBS="-lm $LIBS" ac_cv_func_getpgrp_void=yes;; +interix3*) LIBS="-lm $LIBS" + ac_cv_func_getpgrp_void=yes;; freebsd*) LIBS="-lm $LIBS" echo $ac_n "checking whether -lxpg4 has to be linked""... $ac_c" 1>&6 echo "configure:2330: checking whether -lxpg4 has to be linked" >&5 @@@@ -2448,6 +2452,10 @@@@ echo "$ac_t""$rb_cv_supplementary_lib_c_ fi fi ;; +dragonfly*) + LIBS="-lm $LIBS" + MAINLIBS="-pthread $MAINLIBS" + ;; linux*) LIBS="-lm $LIBS" case "$target_cpu" in alpha*) @@@@ -2877,7 +2885,8 @@@@ fi for ac_hdr in stdlib.h string.h unistd.h limits.h sys/file.h sys/ioctl.h\ fcntl.h sys/fcntl.h sys/select.h sys/time.h sys/times.h sys/param.h\ - syscall.h pwd.h a.out.h utime.h memory.h direct.h sys/resource.h + syscall.h pwd.h a.out.h utime.h memory.h direct.h sys/resource.h\ + pthread.h ucontext.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 @@@@ -4387,6 +4396,330 @@@@ EOF fi +if test "$enable_pthread" = "yes"; then + echo $ac_n "checking for pthread_kill in -lpthread""... $ac_c" 1>&6 +echo "configure:4388: checking for pthread_kill in -lpthread" >&5 +ac_lib_var=`echo pthread'_'pthread_kill | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-lpthread $LIBS" +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + rb_with_pthread=yes +else + echo "$ac_t""no" 1>&6 +rb_with_pthread=no +fi + + if test "$rb_with_pthread" = "yes"; then + LIBS="-lpthread $LIBS" + cat >> confdefs.h <<\EOF +#define _REENTRANT 1 +EOF + + cat >> confdefs.h <<\EOF +#define _THREAD_SAFE 1 +EOF + + cat >> confdefs.h <<\EOF +#define HAVE_LIBPTHREAD 1 +EOF + + else + echo $ac_n "checking for pthread_kill in -lpthreads""... $ac_c" 1>&6 +echo "configure:4444: checking for pthread_kill in -lpthreads" >&5 +ac_lib_var=`echo pthreads'_'pthread_kill | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-lpthreads $LIBS" +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + rb_with_pthread=yes +else + echo "$ac_t""no" 1>&6 +rb_with_pthread=no +fi + + if test "$rb_with_pthread" = "yes"; then + LIBS="-lpthreads $LIBS" + cat >> confdefs.h <<\EOF +#define _REENTRANT 1 +EOF + + cat >> confdefs.h <<\EOF +#define _THREAD_SAFE 1 +EOF + + cat >> confdefs.h <<\EOF +#define HAVE_LIBPTHREAD 1 +EOF + + else + echo $ac_n "checking for pthread_kill in -lc""... $ac_c" 1>&6 +echo "configure:4500: checking for pthread_kill in -lc" >&5 +ac_lib_var=`echo c'_'pthread_kill | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-lc $LIBS" +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + rb_with_pthread=yes +else + echo "$ac_t""no" 1>&6 +rb_with_pthread=no +fi + + if test "$rb_with_pthread" = "yes"; then + cat >> confdefs.h <<\EOF +#define _REENTRANT 1 +EOF + + cat >> confdefs.h <<\EOF +#define _THREAD_SAFE 1 +EOF + + cat >> confdefs.h <<\EOF +#define HAVE_LIBPTHREAD 1 +EOF + + else + echo $ac_n "checking for pthread_kill in -lc_r""... $ac_c" 1>&6 +echo "configure:4555: checking for pthread_kill in -lc_r" >&5 +ac_lib_var=`echo c_r'_'pthread_kill | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-lc_r $LIBS" +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + rb_with_pthread=yes +else + echo "$ac_t""no" 1>&6 +rb_with_pthread=no +fi + + if test "$rb_with_pthread" = "yes"; then + cat >> confdefs.h <<\EOF +#define _REENTRANT 1 +EOF + + cat >> confdefs.h <<\EOF +#define _THREAD_SAFE 1 +EOF + + cat >> confdefs.h <<\EOF +#define HAVE_LIBPTHREAD 1 +EOF + + MAINLIBS="-pthread $MAINLIBS" + else + echo "configure: warning: 'Don\'t know how to find pthread library on your system -- thread support disabled'" 1>&2 + fi + fi + fi + fi + echo $ac_n "checking for nanosleep""... $ac_c" 1>&6 +echo "configure:4616: checking for nanosleep" >&5 +if eval "test \"`echo '$''{'ac_cv_func_nanosleep'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char nanosleep(); + +int main() { + +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_nanosleep) || defined (__stub___nanosleep) +choke me +#else +nanosleep(); +#endif + +; return 0; } +EOF +if { (eval echo configure:4644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_nanosleep=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_nanosleep=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'nanosleep`\" = yes"; then + echo "$ac_t""yes" 1>&6 + : +else + echo "$ac_t""no" 1>&6 +fi + + if test "$ac_cv_func_nanosleep" = "no"; then + echo $ac_n "checking for nanosleep in -lrt""... $ac_c" 1>&6 +echo "configure:4665: checking for nanosleep in -lrt" >&5 +ac_lib_var=`echo rt'_'nanosleep | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-lrt $LIBS" +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + cat >> confdefs.h <<\EOF +#define HAVE_NANOSLEEP 1 +EOF + +else + echo "$ac_t""no" 1>&6 +fi + + fi +fi + DEFAULT_KCODE="KCODE_NONE" # Check whether --with-default-kcode or --without-default-kcode was given. @@@@ -4510,6 +4843,7 @@@@ echo "configure:4501: checking whether O cygwin*) ;; mingw*) ;; netbsd*) CCDLFLAGS=-fPIC;; + interix3*) ;; *) CCDLFLAGS=-fPIC;; esac else @@@@ -4524,7 +4858,7 @@@@ echo "configure:4501: checking whether O case "$target_os" in hpux*) DLDFLAGS="-E" - LDSHARED='ld -b' + LDSHARED="ld -b $LDSHARED" LDFLAGS="-Wl,-E" rb_cv_dlopen=yes;; solaris*) if test "$GCC" = yes; then @@@@ -4539,7 +4873,8 @@@@ echo "configure:4501: checking whether O rb_cv_dlopen=yes;; sunos*) LDSHARED='ld -assert nodefinitions' rb_cv_dlopen=yes;; - irix*) LDSHARED='ld -shared' + irix*) LDSHARED='ld -shared -L${X11BASE}/lib${ABI}' + LDFLAGS="-L${X11BASE}/lib${ABI} ${LDFLAGS}" rb_cv_dlopen=yes;; sysv4*) LDSHARED='ld -G' rb_cv_dlopen=yes;; @@@@ -4550,6 +4885,12 @@@@ echo "configure:4501: checking whether O osf*) LDSHARED="$CC -shared" rb_cv_dlopen=yes ;; linux*) LDSHARED="$CC -shared" + if test "$rb_cv_binary_elf" = yes; then + LDFLAGS="$LDFLAGS -Wl,-export-dynamic" + DLDFLAGS="$DLDFLAGS "'-Wl,-soname,$(.TARGET)' + LIBPATHFLAG=' -L%1$-s' + RPATHFLAG=' -Wl,-R%1$-s' + fi rb_cv_dlopen=yes ;; freebsd*) LDSHARED="$CC -shared" if test "$rb_cv_binary_elf" = yes; then @@@@ -4559,11 +4900,22 @@@@ echo "configure:4501: checking whether O test "$GCC" = yes && test "$rb_cv_prog_gnu_ld" = yes || LDSHARED="ld -Bshareable" fi rb_cv_dlopen=yes ;; - netbsd*) LDSHARED='${CC} -shared' + dragonfly*|netbsd*) + LDSHARED='${CC} -shared' if test "$rb_cv_binary_elf" = yes; then LDFLAGS="-Wl,-export-dynamic" + DLDFLAGS="$DLDFLAGS "'-Wl,-soname,$(.TARGET)' + LIBPATHFLAG=' -L%1$-s' + RPATHFLAG=' -Wl,-R%1$-s' fi rb_cv_dlopen=yes ;; + interix3*) LDSHARED='${CC} -shared' + LDFLAGS="-Wl,-E" + # use special random-slot linkage in 0x[56]XXXXXXX + DLDFLAGS="$DLDFLAGS "'-Wl,-h,$(.TARGET) -Wl,--image-base,$$(($$RANDOM %4096/2*262144+1342177280))' + LIBPATHFLAG=' -L%1$-s' + RPATHFLAG=' -Wl,-R%1$-s' + rb_cv_dlopen=yes ;; openbsd*) LDSHARED="ld -Bforcearchive -Bshareable" rb_cv_dlopen=yes ;; bsdi3*) case "$CC" in @@@@ -5070,6 +5422,7 @@@@ if test "$enable_shared" = 'yes'; then ;; linux*) LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_INSTALL_NAME).so.$(MAJOR).$(MINOR)' + LIBRUBYARG_SHARED='-Wl,-R -Wl,${libdir} -L${libdir} -L. -l$(RUBY_SO_NAME)' LIBRUBY_ALIASES='lib$(RUBY_INSTALL_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_INSTALL_NAME).so' ;; freebsd*) @@@@ -5080,7 +5433,7 @@@@ if test "$enable_shared" = 'yes'; then LIBRUBY_ALIASES='' fi ;; - netbsd*) + dragonfly*|netbsd*) SOLIBS='$(LIBS)' LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.$(MAJOR)$(MINOR).$(TEENY)' LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_INSTALL_NAME).so.$(MAJOR)$(MINOR)' @@@@ -5091,6 +5444,14 @@@@ if test "$enable_shared" = 'yes'; then LIBRUBY_ALIASES="" fi ;; + interix3*) + SOLIBS='$(LIBS)' + LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.$(MAJOR)$(MINOR).$(TEENY)' + # link explicitly to 0x48000000 + LIBRUBY_DLDFLAGS='-Wl,-h,lib$(RUBY_INSTALL_NAME).so.$(MAJOR)$(MINOR) -Wl,--image-base,1207959552' + LIBRUBYARG='-Wl,-R -Wl,${prefix}/lib -L${prefix}/lib -L. -l$(RUBY_INSTALL_NAME)' + LIBRUBY_ALIASES='lib$(RUBY_INSTALL_NAME).so.$(MAJOR)$(MINOR) lib$(RUBY_INSTALL_NAME).so' + ;; openbsd*) SOLIBS='$(LIBS)' ;; @@@@ -5315,6 +5676,15 @@@@ EOF fi +# Check whether --enable-pthread or --disable-pthread was given. +if test "${enable_pthread+set}" = set; then + enableval="$enable_pthread" + enable_pthread=$enableval +else + enable_pthread=no +fi + + if test -f config.h && tr -d '\015' < confdefs.h | cmp -s config.h -; then echo "config.h unchanged" else @ 1.2 log @Adding DrafonFly BSD support provided by Joerg Sonnenberger. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2005/01/21 16:36:41 tv Exp $ d3 1 a3 1 --- configure.orig 2002-11-19 06:49:26.000000000 -0500 d23 12 a34 1 @@@@ -2877,7 +2881,8 @@@@ fi d44 1 a44 1 @@@@ -4387,6 +4392,330 @@@@ EOF d375 1 a375 1 @@@@ -4510,6 +4839,7 @@@@ echo "configure:4501: checking whether O d383 1 a383 1 @@@@ -4524,7 +4854,7 @@@@ echo "configure:4501: checking whether O d392 1 a392 1 @@@@ -4539,7 +4869,8 @@@@ echo "configure:4501: checking whether O d402 1 a402 1 @@@@ -4550,6 +4881,12 @@@@ echo "configure:4501: checking whether O d415 7 a421 2 @@@@ -4562,8 +4899,18 @@@@ echo "configure:4501: checking whether O netbsd*) LDSHARED='${CC} -shared' d439 1 a439 1 @@@@ -5070,6 +5417,7 @@@@ if test "$enable_shared" = 'yes'; then d447 10 a456 1 @@@@ -5091,6 +5439,14 @@@@ if test "$enable_shared" = 'yes'; then d471 1 a471 1 @@@@ -5315,6 +5671,15 @@@@ EOF @ 1.1.1.1 log @Importing ruby16-base package. This is minimum ruby 1.6.8 based on current ruby16 and ruby16 package will be meta pacakge later. @ text @@ 1.1.1.1.4.1 log @Pullup ticket 771 - requested by Takahiro Kambe security and portability fixes for ruby16-base Revisions pulled up: - pkgsrc/lang/ruby16-base/Makefile 1.4, 1.5 - pkgsrc/lang/ruby16-base/distinfo 1.2, 1.3 - pkgsrc/lang/ruby16-base/patches/patch-aa 1.2 - pkgsrc/lang/ruby16-base/patches/patch-ab 1.2 - pkgsrc/lang/ruby16-base/patches/patch-al 1.1 Module Name: pkgsrc Committed By: taca Date: Sun Sep 18 13:36:30 UTC 2005 Modified Files: pkgsrc/lang/ruby16-base: Makefile distinfo pkgsrc/lang/ruby16-base/patches: patch-aa patch-ab Added Files: pkgsrc/lang/ruby16-base/patches: patch-al Log Message: Adding DrafonFly BSD support provided by Joerg Sonnenberger. Bump PKGREVISION. --- Module Name: pkgsrc Committed By: taca Date: Wed Sep 21 14:04:55 UTC 2005 Modified Files: pkgsrc/lang/ruby16-base: Makefile distinfo Log Message: Add a patch for fix the security problem which allows an arbitrary code to run bypassing the safe level check. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2005/09/18 13:36:30 taca Exp $ d3 1 a3 1 --- configure.orig 2002-11-19 11:49:26.000000000 +0000 d23 1 a23 12 @@@@ -2448,6 +2452,10 @@@@ echo "$ac_t""$rb_cv_supplementary_lib_c_ fi fi ;; +dragonfly*) + LIBS="-lm $LIBS" + MAINLIBS="-pthread $MAINLIBS" + ;; linux*) LIBS="-lm $LIBS" case "$target_cpu" in alpha*) @@@@ -2877,7 +2885,8 @@@@ fi d33 1 a33 1 @@@@ -4387,6 +4396,330 @@@@ EOF d364 1 a364 1 @@@@ -4510,6 +4843,7 @@@@ echo "configure:4501: checking whether O d372 1 a372 1 @@@@ -4524,7 +4858,7 @@@@ echo "configure:4501: checking whether O d381 1 a381 1 @@@@ -4539,7 +4873,8 @@@@ echo "configure:4501: checking whether O d391 1 a391 1 @@@@ -4550,6 +4885,12 @@@@ echo "configure:4501: checking whether O d404 2 a405 7 @@@@ -4559,11 +4900,22 @@@@ echo "configure:4501: checking whether O test "$GCC" = yes && test "$rb_cv_prog_gnu_ld" = yes || LDSHARED="ld -Bshareable" fi rb_cv_dlopen=yes ;; - netbsd*) LDSHARED='${CC} -shared' + dragonfly*|netbsd*) + LDSHARED='${CC} -shared' d423 1 a423 1 @@@@ -5070,6 +5422,7 @@@@ if test "$enable_shared" = 'yes'; then d431 1 a431 10 @@@@ -5080,7 +5433,7 @@@@ if test "$enable_shared" = 'yes'; then LIBRUBY_ALIASES='' fi ;; - netbsd*) + dragonfly*|netbsd*) SOLIBS='$(LIBS)' LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.$(MAJOR)$(MINOR).$(TEENY)' LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_INSTALL_NAME).so.$(MAJOR)$(MINOR)' @@@@ -5091,6 +5444,14 @@@@ if test "$enable_shared" = 'yes'; then d446 1 a446 1 @@@@ -5315,6 +5676,15 @@@@ EOF @