pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/ruby-dbm Make ruby-dbm work on Solaris using...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c7b4bf150a2b
branches: trunk
changeset: 484724:c7b4bf150a2b
user: taca <taca%pkgsrc.org@localhost>
date: Mon Nov 29 11:13:40 2004 +0000
description:
Make ruby-dbm work on Solaris using native ndbm(3).
(Not best way, but it works on SunOS 5.8.)
diffstat:
databases/ruby-dbm/Makefile | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 9f5861cc426a -r c7b4bf150a2b databases/ruby-dbm/Makefile
--- a/databases/ruby-dbm/Makefile Mon Nov 29 11:07:59 2004 +0000
+++ b/databases/ruby-dbm/Makefile Mon Nov 29 11:13:40 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/11/27 14:27:50 taca Exp $
+# $NetBSD: Makefile,v 1.2 2004/11/29 11:13:40 taca Exp $
#
DISTNAME= ${RUBY_DISTNAME}
@@ -17,12 +17,19 @@
EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/dbm \
${RUBY_DISTNAME}/sample/dbmtest.rb
-BDB_ACCEPTED?= db1
-
post-install:
${INSTALL_DATA} ${RUBY_WRKSRC}/sample/dbmtest.rb ${RUBY_EXAMPLESDIR}
+.include "../../mk/bsd.prefs.mk"
+#
+# XXX: Ruby extconf shuld select native ndbm(3) or Berkley DB's
+# ndbm(3) compatible support.
+#
+.if ${OPSYS} != "SunOS"
+BDB_ACCEPTED?= db1
+
+.include "../../mk/bdb.buildlink3.mk"
+.endif
.include "../../lang/ruby/modules.mk"
.include "../../lang/ruby/Makefile.common"
-.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index