aboutsummaryrefslogtreecommitdiff
path: root/x11/gtk-theme-switch2
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 06:42:57 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 06:42:57 +0000
commit99290b0d61db9bcb3c960f5507a8ccb0126a0cf9 (patch)
treebac8f356dc259524716a41398446e5c7d8f95a21 /x11/gtk-theme-switch2
parentfda2e985daa21bcac7cf4e4882e560933d7ad5e8 (diff)
downloadports-99290b0d61db9bcb3c960f5507a8ccb0126a0cf9.tar.gz
ports-99290b0d61db9bcb3c960f5507a8ccb0126a0cf9.zip
Notes
Diffstat (limited to 'x11/gtk-theme-switch2')
-rw-r--r--x11/gtk-theme-switch2/Makefile2
-rw-r--r--x11/gtk-theme-switch2/files/patch-aa4
2 files changed, 3 insertions, 3 deletions
diff --git a/x11/gtk-theme-switch2/Makefile b/x11/gtk-theme-switch2/Makefile
index 626c3fdf5931..2a17716a69d4 100644
--- a/x11/gtk-theme-switch2/Makefile
+++ b/x11/gtk-theme-switch2/Makefile
@@ -12,10 +12,10 @@ MASTER_SITES= http://www.muhri.net/
MAINTAINER= sobomax@FreeBSD.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
USE_X_PREFIX= yes
+USE_GTK= yes
.if !defined(NOPORTDOCS)
post-install:
diff --git a/x11/gtk-theme-switch2/files/patch-aa b/x11/gtk-theme-switch2/files/patch-aa
index e553cc87cf86..43ec8b03adef 100644
--- a/x11/gtk-theme-switch2/files/patch-aa
+++ b/x11/gtk-theme-switch2/files/patch-aa
@@ -7,8 +7,8 @@
-LIBS = -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
+GCC = ${CC}
+PREFIX?=/usr/local
-+CFLAGS += `${X11BASE}/bin/gtk12-config --cflags`
-+LIBS = `${X11BASE}/bin/gtk12-config --libs`
++CFLAGS += `${GTK_CONFIG} --cflags`
++LIBS = `${GTK_CONFIG} --libs`
VERSION = 0.4
all : gthemeswitch