1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Fix tools linkage and unbreak installation

Reported by:	many
This commit is contained in:
Marcus von Appen 2014-08-17 17:46:09 +00:00
parent e368dc8d46
commit ccb2a19ad4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365213
2 changed files with 19 additions and 3 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= glew
PORTVERSION= 1.11.0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF

View File

@ -1,6 +1,6 @@
--- ./config/Makefile.freebsd.orig 2014-08-16 08:35:01.000000000 +0200
+++ ./config/Makefile.freebsd 2014-08-16 08:36:37.000000000 +0200
@@ -1,11 +1,11 @@
--- ./config/Makefile.freebsd.orig 2014-08-11 16:14:56.000000000 +0200
+++ ./config/Makefile.freebsd 2014-08-17 19:36:47.000000000 +0200
@@ -1,22 +1,22 @@
NAME = $(GLEW_NAME)
-CC = cc
-LD = ld
@ -16,3 +16,18 @@
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
LDFLAGS.SO = -shared -soname $(LIB.SONAME)
-LIB.SONAME.MX = lib$(NAME)mx.so.$(SO_MAJOR)
+LIB.SONAME.MX = lib$(NAME)mx.so.$(GLEW_MAJOR)
LIB.DEVLNK.MX = lib$(NAME)mx.so
-LIB.SHARED.MX = lib$(NAME)mx.so.$(SO_VERSION)
+LIB.SHARED.MX = lib$(NAME)mx.so.$(GLEW_VERSION)
LIB.STATIC.MX = lib$(NAME)mx.a
LDFLAGS.SO.MX = -shared -soname $(LIB.SONAME.MX)