aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full+lite.patch
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-03-16 03:04:21 +0100
committerMihai Moldovan <ionic@ionic.de>2015-03-16 03:08:44 +0100
commit06b51cc33dccbc8efd47e8449b19439c50f33b1e (patch)
treea8fdf50ee71404995cf0b032cbcfb32c84461d6a /debian/patches/0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full+lite.patch
parent91f1fed27236f0fa880971fc4cad13e95c794afc (diff)
downloadnx-libs-06b51cc33dccbc8efd47e8449b19439c50f33b1e.tar.gz
nx-libs-06b51cc33dccbc8efd47e8449b19439c50f33b1e.tar.bz2
nx-libs-06b51cc33dccbc8efd47e8449b19439c50f33b1e.zip
nx{comp{,ext,shad},proxy}: try really hard to find makedepend. Do not fail if it is not available.
Also rename to account for dependency changes: - 0070_nxcomp_use-MAKEDEPEND-in-path.full+lite.patch => 0410_nxcomp_use-MAKEDEPEND-in-path.full+lite.patch - 0071_nxcompext_use-MAKEDEPEND-in-path.full+lite.patch => 0610_nxcompext_use-MAKEDEPEND-in-path.full+lite.patch - 0072_nxcompshad_use-MAKEDEPEND-in-path.full+lite.patch => 0611_nxcompshad_use-MAKEDEPEND-in-path.full+lite.patch - 0073_nxproxy_use-MAKEDEPEND-in-path.full+lite.patch => 0612_nxproxy_use-MAKEDEPEND-in-path.full+lite.patch - 0074_nxcomp_use-dynamiclib-flag-on-OS-X.full+lite.patch => 0613_nxcomp_use-dynamiclib-flag-on-OS-X.full+lite.patch - 0075_nxcompshad_use-dynamiclib-flag-on-OS-X.full+lite.patch => 0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full+lite.patch - 0610_nxcompext_use-correct-library-naming-scheme-on-OS-X.full+lite.patch => 0620_nxcompext_use-correct-library-naming-scheme-on-OS-X.full+lite.patch - 0611_nxcompshad_use-correct-library-naming-scheme-on-OS-X.full+lite.patch => 0621_nxcompshad_use-correct-library-naming-scheme-on-OS-X.full+lite.patch
Diffstat (limited to 'debian/patches/0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full+lite.patch')
-rw-r--r--debian/patches/0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full+lite.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full+lite.patch b/debian/patches/0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full+lite.patch
new file mode 100644
index 000000000..a75424511
--- /dev/null
+++ b/debian/patches/0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full+lite.patch
@@ -0,0 +1,19 @@
+Description: Fix dynamic library linking on OS X. Use -dynamiclib instead of -bundle.
+Author: Clemens Lang <cal@macports.org>
+
+--- a/nxcompshad/configure.in
++++ b/nxcompshad/configure.in
+@@ -175,11 +175,11 @@ if test "$FreeBSD" = yes; then
+ fi
+
+ dnl Under Darwin we don't have support for -soname option and
+-dnl we need the -bundle flag. Under Solaris, instead, we need
++dnl we need the -dynamiclib flag. Under Solaris, instead, we need
+ dnl the options -G -h.
+
+ if test "$DARWIN" = yes; then
+- LDFLAGS="$LDFLAGS -bundle"
++ LDFLAGS="$LDFLAGS -dynamiclib"
+ elif test "$SUN" = yes; then
+ LDFLAGS="$LDFLAGS -G -h \$(LIBLOAD)"
+ else