summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Hopkirk <hops@sco.com>1999-10-12 13:16:04 -0700
committerGurusamy Sarathy <gsar@cpan.org>1999-10-13 06:43:03 +0000
commit0c81fe2125587af3efd1e95a57601949197672a9 (patch)
treef52ee7ba6ed036ec9fc8aa0979690d7b756a5d12
parentb350dd2f881c6f46f8125355cf7111e4c97d1870 (diff)
downloadperl-0c81fe2125587af3efd1e95a57601949197672a9.tar.gz
use libdbm.nfs.a if available (libdbm.a is missing dbmclose())
Message-Id: <199910122016.aa18415@charmstr.pdev.sco.com> Subject: [ID 19991012.004] Build patch for perl5.005_03 on ODT3 ( 3.2v4.2) p4raw-id: //depot/perl@4360
-rw-r--r--MANIFEST1
-rw-r--r--ext/NDBM_File/hints/sco.pl4
-rw-r--r--ext/ODBM_File/hints/sco.pl8
3 files changed, 9 insertions, 4 deletions
diff --git a/MANIFEST b/MANIFEST
index 05281ea922..9669df8d34 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -293,6 +293,7 @@ ext/NDBM_File/NDBM_File.xs NDBM extension external subroutines
ext/NDBM_File/hints/dec_osf.pl Hint for NDBM_File for named architecture
ext/NDBM_File/hints/dynixptx.pl Hint for NDBM_File for named architecture
ext/NDBM_File/hints/solaris.pl Hint for NDBM_File for named architecture
+ext/NDBM_File/hints/sco.pl Hint for NDBM_File for named architecture
ext/NDBM_File/hints/svr4.pl Hint for NDBM_File for named architecture
ext/NDBM_File/typemap NDBM extension interface types
ext/ODBM_File/Makefile.PL ODBM extension makefile writer
diff --git a/ext/NDBM_File/hints/sco.pl b/ext/NDBM_File/hints/sco.pl
new file mode 100644
index 0000000000..f551578197
--- /dev/null
+++ b/ext/NDBM_File/hints/sco.pl
@@ -0,0 +1,4 @@
+# SCO ODT 3.2v4.2 has a -ldbm library that is missing dbmclose.
+# This system should have a complete library installed as -ldbm.nfs which
+# should be used instead (Probably need the networking product add-on)
+$self->{LIBS} = ['-lndbm',-e "/usr/lib/libdbm.nfs.a"?'-ldbm.nfs':'-ldbm'];
diff --git a/ext/ODBM_File/hints/sco.pl b/ext/ODBM_File/hints/sco.pl
index 4664f2bee0..f551578197 100644
--- a/ext/ODBM_File/hints/sco.pl
+++ b/ext/ODBM_File/hints/sco.pl
@@ -1,4 +1,4 @@
-# Some versions of SCO contain a broken -ldbm library that is missing
-# dbmclose. Some of those might have a fixed library installed as
-# -ldbm.nfs.
-$self->{LIBS} = ['-ldbm.nfs', '-ldbm'];
+# SCO ODT 3.2v4.2 has a -ldbm library that is missing dbmclose.
+# This system should have a complete library installed as -ldbm.nfs which
+# should be used instead (Probably need the networking product add-on)
+$self->{LIBS} = ['-lndbm',-e "/usr/lib/libdbm.nfs.a"?'-ldbm.nfs':'-ldbm'];