pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/glew Use the compiler frontend for linking. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/350a9f9faa01
branches:  trunk
changeset: 349425:350a9f9faa01
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jul 07 14:59:37 2016 +0000

description:
Use the compiler frontend for linking.  Fixes SSP builds on SunOS.

diffstat:

 graphics/glew/distinfo         |  4 ++--
 graphics/glew/patches/patch-ac |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (47 lines):

diff -r 4f835e7ec034 -r 350a9f9faa01 graphics/glew/distinfo
--- a/graphics/glew/distinfo    Thu Jul 07 14:49:25 2016 +0000
+++ b/graphics/glew/distinfo    Thu Jul 07 14:59:37 2016 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.22 2015/11/04 17:41:19 agc Exp $
+$NetBSD: distinfo,v 1.23 2016/07/07 14:59:37 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) = c660635a526a7da09282b50567b9b230a35bd774
+SHA1 (patch-ac) = a5827450e1ed54fff078da5d2d333a7c14a83660
 SHA1 (patch-config_Makefile.linux) = 49ae0366211065225c944cd0088af6e591f12aa9
diff -r 4f835e7ec034 -r 350a9f9faa01 graphics/glew/patches/patch-ac
--- a/graphics/glew/patches/patch-ac    Thu Jul 07 14:49:25 2016 +0000
+++ b/graphics/glew/patches/patch-ac    Thu Jul 07 14:59:37 2016 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-ac,v 1.13 2015/11/03 20:28:45 adam Exp $
+$NetBSD: patch-ac,v 1.14 2016/07/07 14:59:37 jperkin Exp $
 
 On Darwin, do not put GLU as required lib in glew.pc.
 Use LDFLAGS for linking.
 
---- Makefile.orig      2015-11-03 19:58:23.000000000 +0000
+--- Makefile.orig      2015-08-10 11:47:22.000000000 +0000
 +++ Makefile
 @@ -47,8 +47,10 @@ LIBDIR    ?= $(GLEW_DEST)/lib
  INCDIR    ?= $(GLEW_DEST)/include/GL
@@ -21,7 +21,7 @@
  
  lib/$(LIB.SHARED): $(LIB.SOBJS)
 -      $(LD) $(LDFLAGS.SO) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
-+      $(LD) $(LDFLAGS) $(LDFLAGS.SO) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
++      $(CC) $(LDFLAGS) $(LDFLAGS.SO) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
  ifneq ($(LN),)
        $(LN) $(LIB.SHARED) lib/$(LIB.SONAME)
        $(LN) $(LIB.SHARED) lib/$(LIB.DEVLNK)
@@ -30,7 +30,7 @@
  
  lib/$(LIB.SHARED.MX): $(LIB.SOBJS.MX)
 -      $(LD) $(LDFLAGS.SO.MX) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
-+      $(LD) $(LDFLAGS) $(LDFLAGS.SO.MX) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
++      $(CC) $(LDFLAGS) $(LDFLAGS.SO.MX) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
  ifneq ($(LN),)
        $(LN) $(LIB.SHARED.MX) lib/$(LIB.SONAME.MX)
        $(LN) $(LIB.SHARED.MX) lib/$(LIB.DEVLNK.MX)



Home | Main Index | Thread Index | Old Index