pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/glew Allow linking with CC on *BSD.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/25a425ffed78
branches:  trunk
changeset: 349600:25a425ffed78
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Jul 11 16:18:29 2016 +0000

description:
Allow linking with CC on *BSD.

diffstat:

 graphics/glew/distinfo                              |   5 ++++-
 graphics/glew/patches/patch-config_Makefile.freebsd |  18 ++++++++++++++++++
 graphics/glew/patches/patch-config_Makefile.netbsd  |  18 ++++++++++++++++++
 graphics/glew/patches/patch-config_Makefile.openbsd |  18 ++++++++++++++++++
 4 files changed, 58 insertions(+), 1 deletions(-)

diffs (82 lines):

diff -r 7302e5115690 -r 25a425ffed78 graphics/glew/distinfo
--- a/graphics/glew/distinfo    Mon Jul 11 14:35:15 2016 +0000
+++ b/graphics/glew/distinfo    Mon Jul 11 16:18:29 2016 +0000
@@ -1,8 +1,11 @@
-$NetBSD: distinfo,v 1.23 2016/07/07 14:59:37 jperkin Exp $
+$NetBSD: distinfo,v 1.24 2016/07/11 16:18:29 jperkin Exp $
 
 SHA1 (glew-1.13.0.tgz) = d5b1c499f429aa91c466193b4e8ea94a84019e37
 RMD160 (glew-1.13.0.tgz) = 4ed99bea403cbe72d05cfca25694b31209922f9f
 SHA512 (glew-1.13.0.tgz) = 8fc8d7c0d2cd9235ea51db9972f492701827bff40642fdb3cc54c10b0737dba8e6d8d0dcd8c5aa5bfaaae39c6198ba3d4292cd1662fbe1977eb9a5d187ba635f
 Size (glew-1.13.0.tgz) = 616070 bytes
 SHA1 (patch-ac) = a5827450e1ed54fff078da5d2d333a7c14a83660
+SHA1 (patch-config_Makefile.freebsd) = c0db8a34e983db81bbb7dc044155a063022d87d0
 SHA1 (patch-config_Makefile.linux) = 49ae0366211065225c944cd0088af6e591f12aa9
+SHA1 (patch-config_Makefile.netbsd) = 2f0d014f4134f3bc1f69130f9c96e902ac788426
+SHA1 (patch-config_Makefile.openbsd) = bcedbcf96351be20be2e66f3472736a5e87c7fb1
diff -r 7302e5115690 -r 25a425ffed78 graphics/glew/patches/patch-config_Makefile.freebsd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glew/patches/patch-config_Makefile.freebsd       Mon Jul 11 16:18:29 2016 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-config_Makefile.freebsd,v 1.3 2016/07/11 16:18:29 jperkin Exp $
+
+Allow linking with CC.
+
+--- config/Makefile.freebsd.orig       2015-08-10 11:47:22.000000000 +0000
++++ config/Makefile.freebsd
+@@ -14,9 +14,9 @@ LIB.SONAME    = lib$(NAME).so.$(SO_MAJOR
+ LIB.DEVLNK    = lib$(NAME).so
+ LIB.SHARED    = lib$(NAME).so.$(SO_VERSION)
+ LIB.STATIC    = lib$(NAME).a
+-LDFLAGS.SO    = -shared -soname $(LIB.SONAME)
++LDFLAGS.SO    = -shared -Wl,-soname=$(LIB.SONAME)
+ LIB.SONAME.MX = lib$(NAME)mx.so.$(SO_MAJOR)
+ LIB.DEVLNK.MX = lib$(NAME)mx.so
+ LIB.SHARED.MX = lib$(NAME)mx.so.$(SO_VERSION)
+ LIB.STATIC.MX = lib$(NAME)mx.a
+-LDFLAGS.SO.MX = -shared -soname $(LIB.SONAME.MX)
++LDFLAGS.SO.MX = -shared -Wl,-soname=$(LIB.SONAME.MX)
diff -r 7302e5115690 -r 25a425ffed78 graphics/glew/patches/patch-config_Makefile.netbsd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glew/patches/patch-config_Makefile.netbsd        Mon Jul 11 16:18:29 2016 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-config_Makefile.netbsd,v 1.1 2016/07/11 16:18:29 jperkin Exp $
+
+Allow linking with CC.
+
+--- config/Makefile.netbsd.orig        2015-08-10 11:47:22.000000000 +0000
++++ config/Makefile.netbsd
+@@ -14,9 +14,9 @@ LIB.SONAME    = lib$(NAME).so.$(SO_MAJOR
+ LIB.DEVLNK    = lib$(NAME).so
+ LIB.SHARED    = lib$(NAME).so.$(SO_VERSION)
+ LIB.STATIC    = lib$(NAME).a
+-LDFLAGS.SO    = -shared -soname $(LIB.SONAME)
++LDFLAGS.SO    = -shared -Wl,-soname=$(LIB.SONAME)
+ LIB.SONAME.MX = lib$(NAME)mx.so.$(SO_MAJOR)
+ LIB.DEVLNK.MX = lib$(NAME)mx.so
+ LIB.SHARED.MX = lib$(NAME)mx.so.$(SO_VERSION)
+ LIB.STATIC.MX = lib$(NAME)mx.a
+-LDFLAGS.SO.MX = -shared -soname $(LIB.SONAME.MX)
++LDFLAGS.SO.MX = -shared -Wl,-soname=$(LIB.SONAME.MX)
diff -r 7302e5115690 -r 25a425ffed78 graphics/glew/patches/patch-config_Makefile.openbsd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glew/patches/patch-config_Makefile.openbsd       Mon Jul 11 16:18:29 2016 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-config_Makefile.openbsd,v 1.1 2016/07/11 16:18:29 jperkin Exp $
+
+Allow linking with CC.
+
+--- config/Makefile.openbsd.orig       2015-08-10 11:47:22.000000000 +0000
++++ config/Makefile.openbsd
+@@ -14,9 +14,9 @@ LIB.SONAME    = lib$(NAME).so.$(SO_MAJOR
+ LIB.DEVLNK    = lib$(NAME).so
+ LIB.SHARED    = lib$(NAME).so.$(SO_VERSION)
+ LIB.STATIC    = lib$(NAME).a
+-LDFLAGS.SO    = -shared -soname $(LIB.SONAME)
++LDFLAGS.SO    = -shared -Wl,-soname=$(LIB.SONAME)
+ LIB.SONAME.MX = lib$(NAME)mx.so.$(SO_MAJOR)
+ LIB.DEVLNK.MX = lib$(NAME)mx.so
+ LIB.SHARED.MX = lib$(NAME)mx.so.$(SO_VERSION)
+ LIB.STATIC.MX = lib$(NAME)mx.a
+-LDFLAGS.SO.MX = -shared -soname $(LIB.SONAME.MX)
++LDFLAGS.SO.MX = -shared -Wl,-soname=$(LIB.SONAME.MX)



Home | Main Index | Thread Index | Old Index