pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ruby Move common configure related parameter from...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cfaf962a3079
branches: trunk
changeset: 489434:cfaf962a3079
user: taca <taca%pkgsrc.org@localhost>
date: Mon Feb 21 15:25:36 2005 +0000
description:
Move common configure related parameter from ruby16/Makefile and
ruby18/Makefile.
diffstat:
lang/ruby/Makefile.common | 28 +++++++++++++++++++++++++++-
1 files changed, 27 insertions(+), 1 deletions(-)
diffs (40 lines):
diff -r 4d89550bab16 -r cfaf962a3079 lang/ruby/Makefile.common
--- a/lang/ruby/Makefile.common Mon Feb 21 14:57:21 2005 +0000
+++ b/lang/ruby/Makefile.common Mon Feb 21 15:25:36 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.5 2005/02/09 15:28:46 taca Exp $
+# $NetBSD: Makefile.common,v 1.6 2005/02/21 15:25:36 taca Exp $
#
# Ruby base distribution common definition
@@ -68,4 +68,30 @@
RUBY_NOSHLIBMAJOR=${RUBY_NOSHLIBMAJOR} \
RUBY_NAME="${RUBY_NAME}"
+# Common macros.
+.if ${OPSYS} == "NetBSD"
+.if empty(OS_VERSION:M1.[0-9].*)
+PTHREAD_OPTS+= native
+.include "../../mk/pthread.buildlink3.mk"
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
+CONFIGURE_ARGS+= --disable-pthread
+.else
+CONFIGURE_ARGS+= --enable-pthread
+.endif
+.endif
+.endif
+
+.if ${OPSYS} == "IRIX"
+# X11BASE, *not* X11PREFIX: X11PREFIX == PREFIX, but we need to point
+# to the ABI-specific libraries
+CONFIGURE_ENV+= X11BASE="${X11BASE}"
+.endif
+
+# XXX: Ruby extconf shuld select native ndbm(3) or Berkley DB's
+# ndbm(3) compatible support.
+#
+.if ${OPSYS} != "SunOS"
+BDB_ACCEPTED?= db1
+.endif
+
.include "replace.mk"
Home |
Main Index |
Thread Index |
Old Index