summaryrefslogtreecommitdiff
path: root/www/ap2-suphp
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-10-11 19:01:01 +0000
committerjoerg <joerg@pkgsrc.org>2005-10-11 19:01:01 +0000
commit0f6c3a43bdcef902afd0175076b83383e356f14c (patch)
tree2954de818a5033e39fe109e1506a9ecc0e1432fd /www/ap2-suphp
parent76e5951b345c2f6e7f5da7913ead130b593caf2d (diff)
downloadpkgsrc-0f6c3a43bdcef902afd0175076b83383e356f14c.tar.gz
I don't understand why an Apache module depends on libtool to build a
dynamic version, but make it work on DragonFly anyway. Fixes pkg/31155. [distinfo already commited, CVS permission checks are weired]
Diffstat (limited to 'www/ap2-suphp')
-rw-r--r--www/ap2-suphp/patches/patch-ab38
1 files changed, 38 insertions, 0 deletions
diff --git a/www/ap2-suphp/patches/patch-ab b/www/ap2-suphp/patches/patch-ab
new file mode 100644
index 00000000000..955ade24eb5
--- /dev/null
+++ b/www/ap2-suphp/patches/patch-ab
@@ -0,0 +1,38 @@
+$NetBSD: patch-ab,v 1.1 2005/10/11 19:01:01 joerg Exp $
+
+--- configure.orig 2005-10-11 18:46:20.000000000 +0000
++++ configure
+@@ -3960,13 +3960,13 @@ darwin* | rhapsody*)
+ esac
+ ;;
+
+-freebsd*)
++freebsd* | dragonfly*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+ # Not sure whether the presence of OpenBSD here was a mistake.
+ # Let's accept both of them until this is cleared up.
+- lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
++ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ ;;
+@@ -6491,7 +6491,7 @@ else
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+- freebsd*)
++ freebsd* | dragonfly*)
+ archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+@@ -6953,7 +6953,7 @@ freebsd1*)
+ dynamic_linker=no
+ ;;
+
+-freebsd*)
++freebsd* | dragonfly*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in