diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-02-04 18:23:59 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-02-04 18:23:59 +0000 |
commit | aa55e9f3e14b2e20e692f622caa71f73fe09467c (patch) | |
tree | 4c6ea41a94062f10d53465883ff889d1a11af707 /devel/readline | |
parent | b8acd9104811faa673835db8e315da92aedd0bac (diff) | |
download | ports-aa55e9f3e14b2e20e692f622caa71f73fe09467c.tar.gz ports-aa55e9f3e14b2e20e692f622caa71f73fe09467c.zip |
Notes
Diffstat (limited to 'devel/readline')
-rw-r--r-- | devel/readline/files/patch-support-shlib-install | 28 | ||||
-rw-r--r-- | devel/readline/files/patch-support-shobj-conf | 20 |
2 files changed, 48 insertions, 0 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..f3ab0d6729bf --- /dev/null +++ b/devel/readline/files/patch-support-shlib-install @@ -0,0 +1,28 @@ +--- support/shlib-install.orig Tue Jan 3 20:06:27 2006 ++++ support/shlib-install Sun Feb 4 19:18:58 2007 +@@ -155,25 +155,11 @@ + + # FreeBSD 3.x and above can have either a.out or ELF shared libraries + freebsd[3-9]*|freebsdelf[3-9]*|freebsdaout[3-9]*) +- if [ -x /usr/bin/objformat ] && [ "`/usr/bin/objformat`" = "elf" ]; then + # libname.so -> libname.so.M + ${echo} ${RM} ${INSTALLDIR}/$LINK1 + if [ -z "$uninstall" ]; then + eval $INSTALL_LINK1 + fi +- else +- # libname.so.M -> libname.so.M.N +- ${echo} ${RM} ${INSTALLDIR}/$LINK2 +- if [ -z "$uninstall" ]; then +- eval $INSTALL_LINK2 +- fi +- +- # libname.so -> libname.so.M.N +- ${echo} ${RM} ${INSTALLDIR}/$LINK1 +- if [ -z "$uninstall" ]; then +- eval $INSTALL_LINK1 +- fi +- fi + ;; + + hpux1*) diff --git a/devel/readline/files/patch-support-shobj-conf b/devel/readline/files/patch-support-shobj-conf new file mode 100644 index 000000000000..90413187887e --- /dev/null +++ b/devel/readline/files/patch-support-shobj-conf @@ -0,0 +1,20 @@ +--- 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 @@ + SHOBJ_CFLAGS=-fpic + SHOBJ_LD='${CC}' + +- if [ -x /usr/bin/objformat ] && [ "`/usr/bin/objformat`" = "elf" ]; then + SHOBJ_LDFLAGS='-shared -Wl,-soname,$@' + + SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir)' + SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)' +- else +- SHOBJ_LDFLAGS='-shared' +- +- SHLIB_XLDFLAGS='-R$(libdir)' +- SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)' +- fi + ;; + + # Darwin/MacOS X |