diff options
author | Steve Price <steve@FreeBSD.org> | 2000-07-07 19:59:26 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-07-07 19:59:26 +0000 |
commit | 89b7d2a4465628b128b8f5f7fde5f2a3e2b2a8df (patch) | |
tree | dab293772a4c12d5e7f6c0f30c1e8ae09e1cfe4d /textproc/gdict | |
parent | 65b63032bfb3a3f1c8ac4ee660ac83927b43c92a (diff) | |
download | ports-89b7d2a4465628b128b8f5f7fde5f2a3e2b2a8df.tar.gz ports-89b7d2a4465628b128b8f5f7fde5f2a3e2b2a8df.zip |
Notes
Diffstat (limited to 'textproc/gdict')
-rw-r--r-- | textproc/gdict/Makefile | 4 | ||||
-rw-r--r-- | textproc/gdict/files/patch-aa | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/textproc/gdict/Makefile b/textproc/gdict/Makefile index aeb75f95ea39..0817edefe597 100644 --- a/textproc/gdict/Makefile +++ b/textproc/gdict/Makefile @@ -14,6 +14,10 @@ MAINTAINER= domi@saargate.de LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config + +MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}" + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gdict ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/dict ${PREFIX}/bin/cdict diff --git a/textproc/gdict/files/patch-aa b/textproc/gdict/files/patch-aa index f93fc2ce03f6..73d891eaf6a8 100644 --- a/textproc/gdict/files/patch-aa +++ b/textproc/gdict/files/patch-aa @@ -8,7 +8,7 @@ -CFL_GTK = $(CFLAGS) `gtk-config --cflags` `gtk-config --libs` +CC ?= gcc +CFLAGS ?= -O6 -Wall -+CFL_GTK = $(CFLAGS) `gtk12-config --cflags` `gtk12-config --libs` ++CFL_GTK = $(CFLAGS) `$(GTK_CONFIG) --cflags` `$(GTK_CONFIG) --libs` CFL = $(CFLAGS) OBJECTS_GDICT = gdict.c OBJECTS_DICT = dict.c |