summaryrefslogtreecommitdiff
path: root/devel/gtksheet
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
commitfda2e985daa21bcac7cf4e4882e560933d7ad5e8 (patch)
tree4ccb4a868e97ff347416395233e3825776b24951 /devel/gtksheet
parentImplement USE_GLIB. (diff)
Implement USE_GTK, part 1.
Diffstat (limited to 'devel/gtksheet')
-rw-r--r--devel/gtksheet/Makefile5
-rw-r--r--devel/gtksheet/files/patch-aa2
2 files changed, 2 insertions, 5 deletions
diff --git a/devel/gtksheet/Makefile b/devel/gtksheet/Makefile
index cd6f90294bdf..77038adce1e0 100644
--- a/devel/gtksheet/Makefile
+++ b/devel/gtksheet/Makefile
@@ -12,11 +12,8 @@ MASTER_SITES= http://magnet.fsu.edu/~feiguin/gtk/src/
MAINTAINER= ijliao@csie.nctu.edu.tw
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
-
USE_X_PREFIX= yes
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-MAKE_ENV+= GTK_CONFIG=${GTK_CONFIG}
+USE_GTK= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/libgtksheet.a ${PREFIX}/lib
diff --git a/devel/gtksheet/files/patch-aa b/devel/gtksheet/files/patch-aa
index 589d7708ed45..8fcb2ab55f84 100644
--- a/devel/gtksheet/files/patch-aa
+++ b/devel/gtksheet/files/patch-aa
@@ -7,7 +7,7 @@
-LIBDIRS = $(shell gtk-config --libs)
-CFLAGS = -Wall $(shell gtk-config --cflags)
+LIBDIRS = `$(GTK_CONFIG) --libs`
-+CFLAGS = -Wall `$(GTK_CONFIG) --cflags`
++CFLAGS += -Wall `$(GTK_CONFIG) --cflags`
all: demo libGtkSheet.a