aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-07-04 01:56:07 +0800
committerlioux <lioux@FreeBSD.org>2001-07-04 01:56:07 +0800
commit8b7ed168f23f73ff6f0fc4380ffed184f889af68 (patch)
treeeb7a0f082c53b529e378ef209645b6c87d47cd98
parentc0221c77981fcc9b1e2820ec0015d88262bbdcb3 (diff)
downloadfreebsd-ports-gnome-8b7ed168f23f73ff6f0fc4380ffed184f889af68.tar.gz
freebsd-ports-gnome-8b7ed168f23f73ff6f0fc4380ffed184f889af68.tar.zst
freebsd-ports-gnome-8b7ed168f23f73ff6f0fc4380ffed184f889af68.zip
Patch to use $(IMLIB_CONFIG) instead of hard coded references
Submitted by: Patrick Li <pat@databits.net>
-rw-r--r--astro/gkrellmearth/files/patch-Makefile10
-rw-r--r--astro/gkrellmoon/files/patch-Makefile10
-rw-r--r--misc/gkrellweather/files/patch-Makefile10
-rw-r--r--net/gkrellmqst/files/patch-Makefile10
4 files changed, 24 insertions, 16 deletions
diff --git a/astro/gkrellmearth/files/patch-Makefile b/astro/gkrellmearth/files/patch-Makefile
index efcf98ce4d64..5be777a0d8fe 100644
--- a/astro/gkrellmearth/files/patch-Makefile
+++ b/astro/gkrellmearth/files/patch-Makefile
@@ -1,15 +1,17 @@
---- Makefile.orig Thu Jun 28 02:19:33 2001
-+++ Makefile Thu Jun 28 02:23:38 2001
+--- Makefile.orig Thu May 17 18:42:12 2001
++++ Makefile Tue Jul 3 01:49:50 2001
@@ -1,17 +1,16 @@
-GTK_INCLUDE = `gtk-config --cflags`
-GTK_LIB = `gtk-config --libs`
+GTK_INCLUDE = `$(GTK_CONFIG) --cflags`
+GTK_LIB = `$(GTK_CONFIG) --libs`
- IMLIB_INCLUDE = `imlib-config --cflags-gdk`
- IMLIB_LIB = `imlib-config --libs-gdk`
+-IMLIB_INCLUDE = `imlib-config --cflags-gdk`
+-IMLIB_LIB = `imlib-config --libs-gdk`
-THREAD_LIB = -lpthread
-INSTALLDIR = $(HOME)/.gkrellm/plugins
++IMLIB_INCLUDE = `$(IMLIB_CONFIG) --cflags-gdk`
++IMLIB_LIB = `$(IMLIB_CONFIG) --libs-gdk`
+INSTALLDIR = $(PREFIX)/libexec/gkrellm/plugins
diff --git a/astro/gkrellmoon/files/patch-Makefile b/astro/gkrellmoon/files/patch-Makefile
index a6f25443410a..7fd220cd8487 100644
--- a/astro/gkrellmoon/files/patch-Makefile
+++ b/astro/gkrellmoon/files/patch-Makefile
@@ -1,15 +1,17 @@
---- Makefile.orig Wed Apr 11 19:46:01 2001
-+++ Makefile Wed Jun 27 23:46:30 2001
+--- Makefile.orig Wed Apr 11 18:46:23 2001
++++ Makefile Tue Jul 3 01:52:23 2001
@@ -1,17 +1,16 @@
-GTK_INCLUDE = `gtk-config --cflags`
-GTK_LIB = `gtk-config --libs`
+GTK_INCLUDE = `$(GTK_CONFIG) --cflags`
+GTK_LIB = `$(GTK_CONFIG) --libs`
- IMLIB_INCLUDE = `imlib-config --cflags-gdk`
- IMLIB_LIB = `imlib-config --libs-gdk`
+-IMLIB_INCLUDE = `imlib-config --cflags-gdk`
+-IMLIB_LIB = `imlib-config --libs-gdk`
-THREAD_LIB = -lpthread
-INSTALLDIR = /usr/share/gkrellm/plugins
++IMLIB_INCLUDE = `$(IMLIB_CONFIG) --cflags-gdk`
++IMLIB_LIB = `$(IMLIB_CONFIG) --libs-gdk`
+INSTALLDIR = $(PREFIX)/libexec/gkrellm/plugins
diff --git a/misc/gkrellweather/files/patch-Makefile b/misc/gkrellweather/files/patch-Makefile
index 940df5c5104e..4c27c59d2a19 100644
--- a/misc/gkrellweather/files/patch-Makefile
+++ b/misc/gkrellweather/files/patch-Makefile
@@ -1,13 +1,15 @@
---- Makefile.orig Thu Jun 28 05:04:00 2001
-+++ Makefile Thu Jun 28 05:03:38 2001
+--- Makefile.orig Sat Apr 14 12:49:15 2001
++++ Makefile Tue Jul 3 01:47:05 2001
@@ -1,20 +1,20 @@
-GTK_INCLUDE = `gtk-config --cflags`
-GTK_LIB = `gtk-config --libs`
+GTK_INCLUDE = `$(GTK_CONFIG) --cflags`
+GTK_LIB = `$(GTK_CONFIG) --libs`
- IMLIB_INCLUDE = `imlib-config --cflags-gdk`
- IMLIB_LIB = `imlib-config --libs-gdk`
+-IMLIB_INCLUDE = `imlib-config --cflags-gdk`
+-IMLIB_LIB = `imlib-config --libs-gdk`
++IMLIB_INCLUDE = `$(IMLIB_CONFIG) --cflags-gdk`
++IMLIB_LIB = `$(IMLIB_CONFIG) --libs-gdk`
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
diff --git a/net/gkrellmqst/files/patch-Makefile b/net/gkrellmqst/files/patch-Makefile
index d5b49b64130f..139f9a4a76d0 100644
--- a/net/gkrellmqst/files/patch-Makefile
+++ b/net/gkrellmqst/files/patch-Makefile
@@ -1,15 +1,17 @@
---- Makefile.orig Thu Jun 28 02:19:33 2001
-+++ Makefile Thu Jun 28 02:23:38 2001
+--- Makefile.orig Wed Jun 13 15:44:09 2001
++++ Makefile Tue Jul 3 01:40:53 2001
@@ -1,17 +1,16 @@
-GTK_INCLUDE = `gtk-config --cflags`
-GTK_LIB = `gtk-config --libs`
+GTK_INCLUDE = `$(GTK_CONFIG) --cflags`
+GTK_LIB = `$(GTK_CONFIG) --libs`
- IMLIB_INCLUDE = `imlib-config --cflags-gdk`
- IMLIB_LIB = `imlib-config --libs-gdk`
+-IMLIB_INCLUDE = `imlib-config --cflags-gdk`
+-IMLIB_LIB = `imlib-config --libs-gdk`
-THREAD_LIB = -lpthread
-INSTALLDIR = $(HOME)/.gkrellm/plugins
++IMLIB_INCLUDE = `$(IMLIB_CONFIG) --cflags-gdk`
++IMLIB_LIB = `$(IMLIB_CONFIG) --libs-gdk`
+INSTALLDIR = $(PREFIX)/libexec/gkrellm/plugins