openbsd-ports/lang/STk/patches/patch-configure
jasper 5ba0adf8d0 - add a homepage and license
- regen patches and PLIST
- bump pkgname
2008-08-19 22:45:27 +00:00

24 lines
673 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2008/08/19 22:45:27 jasper Exp $
--- configure.orig Sun Sep 26 17:02:14 1999
+++ configure Fri Aug 15 20:15:21 2008
@@ -692,6 +692,7 @@ case $MACHINE in
HP*) OS=HPUX; DFLGS="$DFLGS -Dhpux";;
Linux*) OS=LINUX;;
NetBSD-1*) OS=NETBSD1;;
+ OpenBSD*) OS=OPENBSD;;
FreeBSD*) OS=FREEBSD;;
IRIX-5*) OS=IRIX5;;
IRIX*-6*) OS=IRIX5;;
@@ -2277,6 +2278,11 @@ case $OS in
SH_CCFLAGS="-fpic"
SH_LDFLAGS="-Bshareable -o"
SH_LOADER="ld"
+ SH_SUFFIX='so';;
+ OPENBSD)
+ SH_CCFLAGS="-fpic"
+ SH_LDFLAGS="-shared -o"
+ SH_LOADER="${CC}"
SH_SUFFIX='so';;
HPUX)
SH_CCFLAGS="+Z"