aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-01-22 00:57:02 +0800
committersem <sem@FreeBSD.org>2006-01-22 00:57:02 +0800
commit468ab76a8d66562bc7900069ee013fd3be64c9a4 (patch)
tree3a3e96dc4db85d7295ae1c3d8122ef9602bd6a8e
parent8b80ca62e3ceaad0925b41e83171916ff3f29fd9 (diff)
downloadfreebsd-ports-gnome-468ab76a8d66562bc7900069ee013fd3be64c9a4.tar.gz
freebsd-ports-gnome-468ab76a8d66562bc7900069ee013fd3be64c9a4.tar.zst
freebsd-ports-gnome-468ab76a8d66562bc7900069ee013fd3be64c9a4.zip
- Fix SONAME
PR: ports/92095 Submitted by: maintainer
-rw-r--r--graphics/glew/files/patch-config_Makefile.freebsd9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/glew/files/patch-config_Makefile.freebsd b/graphics/glew/files/patch-config_Makefile.freebsd
index 5192b66b8bc0..2ce5d93a5a39 100644
--- a/graphics/glew/files/patch-config_Makefile.freebsd
+++ b/graphics/glew/files/patch-config_Makefile.freebsd
@@ -3,7 +3,7 @@ $FreeBSD$
--- config/Makefile.freebsd.orig
+++ config/Makefile.freebsd
-@@ -1,15 +1,15 @@
+@@ -1,20 +1,20 @@
NAME = $(GLEW_NAME)
-CC = cc
-LD = ld
@@ -23,3 +23,10 @@ $FreeBSD$
NAME = GLEW
WARN = -Wall -W
POPT = -O2
+ BIN.SUFFIX =
+-LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
++LIB.SONAME = lib$(NAME).so.$(GLEW_MAJOR)
+ LIB.DEVLNK = lib$(NAME).so
+-LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
++LIB.SHARED = lib$(NAME).so.$(GLEW_VERSION)
+ LIB.STATIC = lib$(NAME).a