diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-02-09 20:57:26 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-02-09 20:57:26 +0000 |
commit | 78604300c8a2b8a826fdb3780b0ac14154d898a2 (patch) | |
tree | 91108f15889fa9a3bcc9599aa151a86001278592 | |
parent | 34dcec433d780c9dfeadec5b37baaf8247fc5da9 (diff) | |
download | freebsd-ports-78604300c8a2b8a826fdb3780b0ac14154d898a2.zip |
Patch ltconfig a bit like USES=libtool does for configure files, so that
we end up with libs and symlinks as specified in the plist
No bump needed as it failed to package.
-rw-r--r-- | x11/dgs/Makefile | 1 | ||||
-rw-r--r-- | x11/dgs/files/patch-DPS_ltconfig | 18 |
2 files changed, 14 insertions, 5 deletions
diff --git a/x11/dgs/Makefile b/x11/dgs/Makefile index a7a6aaff8df2..f56b5663d370 100644 --- a/x11/dgs/Makefile +++ b/x11/dgs/Makefile @@ -40,7 +40,6 @@ post-patch: post-install: ${INSTALL_SCRIPT} ${WRKSRC}/dgs-config ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/dpsnx.agent ${STAGEDIR}${PREFIX}/bin/ -# ${INSTALL_DATA} ${WRKSRC}/path_dps.m4 ${PREFIX}/share/aclocal/ ${INSTALL_MAN} ${WRKSRC}/dpsnx.agent.1 ${STAGEDIR}${PREFIX}/man/man1/ .include <bsd.port.mk> diff --git a/x11/dgs/files/patch-DPS_ltconfig b/x11/dgs/files/patch-DPS_ltconfig index d7afba04baac..d2d30acdf548 100644 --- a/x11/dgs/files/patch-DPS_ltconfig +++ b/x11/dgs/files/patch-DPS_ltconfig @@ -1,6 +1,6 @@ ---- DPS/ltconfig.orig 2000-01-11 22:24:56.000000000 +0000 -+++ DPS/ltconfig -@@ -1349,7 +1349,7 @@ else +--- ./DPS/ltconfig.orig 2000-01-11 22:24:56.000000000 +0000 ++++ ./DPS/ltconfig 2014-02-09 20:43:04.000000000 +0000 +@@ -1349,7 +1349,7 @@ ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. @@ -9,7 +9,7 @@ archive_cmds='$CC -shared -o $lib $libobjs $deplibs $linkopts' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes -@@ -1823,7 +1823,7 @@ freebsd1*) +@@ -1823,7 +1823,7 @@ dynamic_linker=no ;; @@ -18,3 +18,13 @@ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat case "$version_type" in +@@ -1831,7 +1831,8 @@ + deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' + file_magic_cmd=/usr/bin/file + file_magic_test_file=`echo /usr/lib/libc.so*` +- library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' ++ library_names_spec='$libname$release.so$versuffix $libname$release.so$major $libname.so' ++ soname_spec='$libname$release.so$major' + need_version=no + need_lib_prefix=no + ;; |