summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-08-20 18:01:37 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-08-20 18:01:37 +0000
commit3f5ed913dc54eafb15b6f31b81c452ab784211a8 (patch)
treef2b27e1d371cb36909027c106703a5579ce4d427 /gnu/usr.bin/perl
parent73c793c6fe0a1bfd5b889fb1c1fc4cd44b89bf3d (diff)
Makefile and script fixes.
Diffstat (limited to 'gnu/usr.bin/perl')
-rw-r--r--gnu/usr.bin/perl/Makefile.bsd-wrapper4
-rw-r--r--gnu/usr.bin/perl/config.sh.OpenBSD16
2 files changed, 12 insertions, 8 deletions
diff --git a/gnu/usr.bin/perl/Makefile.bsd-wrapper b/gnu/usr.bin/perl/Makefile.bsd-wrapper
index 1d52aedcd84..2b59d848738 100644
--- a/gnu/usr.bin/perl/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/perl/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.1 1996/08/19 10:11:52 downsj Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.2 1996/08/20 18:01:36 downsj Exp $
#
# Build wrapper for Perl 5.003.
#
@@ -37,7 +37,7 @@ all: ${GENERATED}
(cd ${.OBJDIR}; ${MAKE})
(cd ${.OBJDIR}/pod; ${MAKE} man)
-config.sh:
+config.sh: config.sh.OpenBSD
(cd ${.OBJDIR}; /bin/sh Configure -f config.sh.OpenBSD -dsE)
Makefile:
diff --git a/gnu/usr.bin/perl/config.sh.OpenBSD b/gnu/usr.bin/perl/config.sh.OpenBSD
index 2b1b2cb2879..6d57456cc9e 100644
--- a/gnu/usr.bin/perl/config.sh.OpenBSD
+++ b/gnu/usr.bin/perl/config.sh.OpenBSD
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: config.sh.OpenBSD,v 1.2 1996/08/20 08:21:52 downsj Exp $
+# $OpenBSD: config.sh.OpenBSD,v 1.3 1996/08/20 18:01:36 downsj Exp $
#
# This file was produced by running the Configure script. It holds all the
# definitions figured out by Configure. Should you modify one of these values,
@@ -100,7 +100,7 @@ d_cuserid='undef'
d_dbl_dig='define'
d_difftime='define'
d_dirnamlen='define'
-if [ $_dynaload ]; then
+if [ $_dynaload -ne 0 ]; then
d_dlerror='define'
d_dlopen='define'
d_dlsymun='define'
@@ -258,13 +258,13 @@ db_hashtype='u_int32_t'
db_prefixtype='size_t'
defvoidused='15'
direntrytype='struct dirent'
-if [ $_dynaload ]; then
+if [ $_dynaload -ne 0 ]; then
dlext='so'
dlsrc='dl_dlopen.xs'
dynamic_ext='DB_File Fcntl FileHandle POSIX SDBM_File Safe Socket'
else
dlext=''
- dlsrc=''
+ dlsrc='dl_none.xs'
dynamic_ext=''
fi
eagain='EAGAIN'
@@ -299,7 +299,11 @@ i_db='define'
i_dbm='undef'
i_dirent='define'
i_dld='undef'
-i_dlfcn='define'
+if [ $_dynaload -ne 0 ]; then
+ i_dlfcn='define'
+else
+ i_dlfcn='undef'
+fi
i_fcntl='undef'
i_float='define'
i_gdbm='undef'
@@ -490,7 +494,7 @@ troff=''
uidtype='uid_t'
uname='uname'
uniq='uniq'
-if [ $_dynaload ]; then
+if [ $_dynaload -ne 0 ]; then
usedl='define'
else
usedl='undef'