From ccb2a19ad4fd79caaf77dde54b813439c14f0968 Mon Sep 17 00:00:00 2001 From: Marcus von Appen Date: Sun, 17 Aug 2014 17:46:09 +0000 Subject: [PATCH] - Fix tools linkage and unbreak installation Reported by: many --- graphics/glew/Makefile | 1 + .../glew/files/patch-config__Makefile.freebsd | 21 ++++++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/graphics/glew/Makefile b/graphics/glew/Makefile index 9aca589eaf77..aad6d33c0999 100644 --- a/graphics/glew/Makefile +++ b/graphics/glew/Makefile @@ -3,6 +3,7 @@ PORTNAME= glew PORTVERSION= 1.11.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF diff --git a/graphics/glew/files/patch-config__Makefile.freebsd b/graphics/glew/files/patch-config__Makefile.freebsd index 5ce68f1d6002..f94b64b9a0d2 100644 --- a/graphics/glew/files/patch-config__Makefile.freebsd +++ b/graphics/glew/files/patch-config__Makefile.freebsd @@ -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)