aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2011-11-05 18:25:13 +0000
committerKoop Mast <kwm@FreeBSD.org>2011-11-05 18:25:13 +0000
commit9ef23fcbd83f4d4c2ac5bf7ece79e47a13a2073c (patch)
tree20f5edbe6f89c6a3ed7ccb2cc4f7dfc1b0f61a08 /devel
parentbabb1fd22451093f978c17dd9260131e2ffd1c5c (diff)
downloadports-9ef23fcbd83f4d4c2ac5bf7ece79e47a13a2073c.tar.gz
ports-9ef23fcbd83f4d4c2ac5bf7ece79e47a13a2073c.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/readline/files/patch-support-shlib-install20
-rw-r--r--devel/readline/files/patch-support-shobj-conf27
2 files changed, 43 insertions, 4 deletions
diff --git a/devel/readline/files/patch-support-shlib-install b/devel/readline/files/patch-support-shlib-install
new file mode 100644
index 000000000000..73ed5ebee0ca
--- /dev/null
+++ b/devel/readline/files/patch-support-shlib-install
@@ -0,0 +1,20 @@
+--- support/shlib-install.orig 2009-10-28 14:30:18.000000000 +0100
++++ support/shlib-install 2011-11-05 19:06:58.000000000 +0100
+@@ -155,7 +155,7 @@
+
+
+ # FreeBSD 3.x and above can have either a.out or ELF shared libraries
+-freebsd3*|freebsdaout*)
++freebsd3.*|freebsdaout*)
+ if [ -x /usr/bin/objformat ] && [ "`/usr/bin/objformat`" = "elf" ]; then
+ # libname.so -> libname.so.M
+ ${echo} ${RM} ${INSTALLDIR}/$LINK1
+@@ -177,7 +177,7 @@
+ fi
+ ;;
+
+-freebsd[4-9]*|freebsdelf*|dragonfly*)
++freebsd[4-9].*|freebsd1[0-9].*|freebsdelf*|dragonfly*)
+ # libname.so -> libname.so.M
+ ${echo} ${RM} ${INSTALLDIR}/$LINK1
+ if [ -z "$uninstall" ]; then
diff --git a/devel/readline/files/patch-support-shobj-conf b/devel/readline/files/patch-support-shobj-conf
index 90413187887e..aafca07c223b 100644
--- a/devel/readline/files/patch-support-shobj-conf
+++ b/devel/readline/files/patch-support-shobj-conf
@@ -1,7 +1,21 @@
---- support/shobj-conf.orig Tue Apr 11 15:15:43 2006
-+++ support/shobj-conf Sun Feb 4 19:18:20 2007
-@@ -128,17 +128,10 @@
+--- support/shobj-conf.orig 2009-10-28 14:20:21.000000000 +0100
++++ support/shobj-conf 2011-11-05 18:02:22.000000000 +0100
+@@ -118,7 +118,7 @@
+ SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)'
+ ;;
+
+-freebsd2*)
++freebsd2.*)
SHOBJ_CFLAGS=-fpic
+ SHOBJ_LD=ld
+ SHOBJ_LDFLAGS='-x -Bshareable'
+@@ -128,25 +128,18 @@
+ ;;
+
+ # FreeBSD-3.x ELF
+-freebsd3*|freebsdaout*)
++freebsd3.*|freebsdaout*)
+ SHOBJ_CFLAGS=-fPIC
SHOBJ_LD='${CC}'
- if [ -x /usr/bin/objformat ] && [ "`/usr/bin/objformat`" = "elf" ]; then
@@ -17,4 +31,9 @@
- fi
;;
- # Darwin/MacOS X
+ # FreeBSD-4.x and later have only ELF
+-freebsd[4-9]*|freebsdelf*|dragonfly*)
++freebsd[4-9].*|freebsd1[0-9].*|freebsdelf*|dragonfly*)
+ SHOBJ_CFLAGS=-fPIC
+ SHOBJ_LD='${CC}'
+