ports/math/sage/files/patch-build_pkgs_readline_patches_shobj-conf.patch
Stephen Montgomery-Smith 8453a00a4d - Update to 6.1.1.
2014-02-08 05:18:19 +00:00

11 lines
479 B
Diff

--- build/pkgs/readline/patches/shobj-conf.patch-orig 2014-02-04 21:08:30.000000000 -0600
+++ build/pkgs/readline/patches/shobj-conf.patch 2014-02-04 21:09:48.000000000 -0600
@@ -43,7 +43,7 @@
- SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir)'
-
- SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)'
-+freebsdelf*|dragonfly*)
++freebsd[4-9].*|freebsd1[0-9].*|freebsdelf*|dragonfly*)
+ SHOBJ_CFLAGS=-fPIC
+ SHOBJ_LD='${CC}'
+ SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'