Skip site navigation (1)Skip section navigation (2)
Date:      10 Aug 1998 13:26:43 +0200
From:      Thomas Gellekum <tg@ihf.rwth-aachen.de>
To:        asami@FreeBSD.ORG (Satoshi Asami)
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: ports/x11/pygtk Makefile
Message-ID:  <87n29daxho.fsf@ghpc6.ihf.rwth-aachen.de>
In-Reply-To: asami@FreeBSD.ORG's message of "Mon, 10 Aug 1998 03:20:28 -0700 (PDT)"
References:  <199808101020.DAA01204@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
asami@FreeBSD.ORG (Satoshi Asami) writes:

>  * Depends on whether configure finds /usr/local/bin/gtk-config first or
>  * /usr/X11R6/bin/gtk-config. I hate it.
> 
> And that depends on?  (Yes, I hate it too.)

$PATH. Or a command-line switch to configure as I just noticed. Does
this patch work for you?

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/pygtk/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	1998/08/07 23:56:51	1.9
+++ Makefile	1998/08/10 11:25:51
@@ -17,13 +17,12 @@
 
 MAINTAINER=	ports@FreeBSD.ORG
 
-BUILD_DEPENDS=	python:${PORTSDIR}/lang/python
+BUILD_DEPENDS=	python:${PORTSDIR}/lang/python \
+		${X11BASE}/bin/gtk-config:${PORTSDIR}/x11-toolkits/gtk
 RUN_DEPENDS=	python:${PORTSDIR}/lang/python
-LIB_DEPENDS=	gtk\\.1\\.:${PORTSDIR}/x11-toolkits/gtk
 
-BROKEN=		glib.h
-
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-gtk-config=${X11BASE}/bin/gtk-config
 ALL_TARGET=	sharedmods
 MAKE_FLAGS=	OPT="${CFLAGS}"
 


tg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87n29daxho.fsf>