1234567891011121314151617181920212223242526272829 |
- $OpenBSD: patch-configure,v 1.4 2015/04/15 21:58:16 jeremy Exp $
- Override the arch setting to remove OpenBSD version from it,
- so ports don't have to be bumped when OpenBSD version changes.
- --- configure.orig Thu Jun 27 04:57:43 2013
- +++ configure Mon Apr 13 19:51:16 2015
- @@ -10912,7 +10912,7 @@ if test "$enable_shared" = 'yes'; then
- ;;
- openbsd*)
- SOLIBS='$(LIBS)'
- - LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.$(MAJOR).'`expr ${MINOR} \* 10 + ${TEENY}`
- + LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.'${LIBruby18_VERSION}
- ;;
- solaris*)
- SOLIBS='$(LIBS)'
- @@ -11215,7 +11215,10 @@ _ACEOF
- _ACEOF
-
- else
- - arch="${target_cpu}-${target_os}"
- + case "$target_os" in
- + openbsd*) arch="$target_cpu-openbsd" ;;
- + *) arch="${target_cpu}-${target_os}" ;;
- + esac
- cat >>confdefs.h <<_ACEOF
- #define RUBY_PLATFORM "${arch}"
- _ACEOF
|