diff options
-rw-r--r-- | patches/gmp/01_use-ma-libdir-and-rm-info-index.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/patches/gmp/01_use-ma-libdir-and-rm-info-index.patch b/patches/gmp/01_use-ma-libdir-and-rm-info-index.patch new file mode 100644 index 0000000..64b57e7 --- /dev/null +++ b/patches/gmp/01_use-ma-libdir-and-rm-info-index.patch @@ -0,0 +1,36 @@ +From: "P. J. McDermott" <pjm@nac.net> +Date: Thu, 30 May 2013 21:30:00 -0400 +Subject: Use multiarch library dirs and remove info index. + +--- +diff --git a/build b/build +index e735c97..ac92e45 100755 +--- a/build ++++ b/build +@@ -16,5 +16,6 @@ install: build + oh-autoinstall + oh-fixperms + oh-strip +- rm -rf dest/usr/lib/libgmp.la ++ rm -rf dest/usr/lib/$(OPK_HOST_ARCH)/libgmp.la ++ rm dest/usr/share/info/dir + oh-installfiles +diff --git a/libgmp-dev.pkg/files b/libgmp-dev.pkg/files +index 6b48068..67703d0 100644 +--- a/libgmp-dev.pkg/files ++++ b/libgmp-dev.pkg/files +@@ -1,3 +1,3 @@ + /usr/include/gmp.h +-/usr/lib/libgmp.a +-/usr/lib/libgmp.so ++/usr/lib/*/libgmp.a ++/usr/lib/*/libgmp.so +diff --git a/libgmp.10.pkg/files b/libgmp.10.pkg/files +index 3c2304d..ed7e421 100644 +--- a/libgmp.10.pkg/files ++++ b/libgmp.10.pkg/files +@@ -1,2 +1,2 @@ +-/usr/lib/libgmp.so.10 +-/usr/lib/libgmp.so.10.0.5 ++/usr/lib/*/libgmp.so.10 ++/usr/lib/*/libgmp.so.10.0.5 |