04679873d1
- upgrade to STk 3.1.1 - change maintainer to ports@ - fix PLIST problem by using sed for some variable substitution - fix compilation on archs that do not support dynamic loading of modules (fixes compilation on Alpha, needs testing on pmax and arc)
30 lines
802 B
Plaintext
30 lines
802 B
Plaintext
--- configure.orig Sat Oct 30 21:20:01 1999
|
|
+++ configure Sat Oct 30 21:18:49 1999
|
|
@@ -659,6 +659,7 @@
|
|
HP*) OS=HPUX; DFLGS="$DFLGS -Dhpux";;
|
|
Linux*) OS=LINUX;;
|
|
NetBSD-1*) OS=NETBSD1;;
|
|
+ OpenBSD*) OS=OPENBSD;;
|
|
FreeBSD*) OS=FREEBSD;;
|
|
IRIX-5*) OS=IRIX5;;
|
|
*) OS=unknown_system;;
|
|
@@ -1528,6 +1529,18 @@
|
|
SH_LDFLAGS="-Bshareable -o"
|
|
SH_LOADER="ld"
|
|
SH_SUFFIX='so';;
|
|
+ OPENBSD)
|
|
+ case $machine in
|
|
+ alpha)
|
|
+ echo "Alpha does not support shared libraries.";;
|
|
+ powerpc)
|
|
+ echo "PowerPC does not support shared libraries.";;
|
|
+ *)
|
|
+ SH_CCFLAGS="-fpic"
|
|
+ SH_LDFLAGS="-Bshareable -Bforcearchive -o"
|
|
+ SH_LOADER="ld"
|
|
+ SH_SUFFIX='so';;
|
|
+ esac;;
|
|
HPUX)
|
|
SH_CCFLAGS="+Z"
|
|
SH_LDFLAGS="-b -o"
|