From owner-freebsd-ports Fri Nov 24 1:20: 8 2000 Delivered-To: freebsd-ports@freebsd.org Received: from shale.csir.co.za (shale.csir.co.za [146.64.46.5]) by hub.freebsd.org (Postfix) with ESMTP id CBF9537B4C5 for ; Fri, 24 Nov 2000 01:19:45 -0800 (PST) Received: from C992631-A.pinol1.sfba.home.com (C992631-A.pinol1.sfba.home.com [24.12.58.155]) by shale.csir.co.za (8.9.3/8.9.3) with ESMTP id LAA75522; Fri, 24 Nov 2000 11:22:49 +0200 (SAT) (envelope-from reg@shale.csir.co.za) Received: (from reg@localhost) by C992631-A.pinol1.sfba.home.com (8.11.0/8.11.0) id eAO9HRQ43325; Fri, 24 Nov 2000 01:17:27 -0800 (PST) (envelope-from reg) Date: Fri, 24 Nov 2000 01:17:27 -0800 From: Jeremy Lea To: Jeremy Norris Cc: freebsd-ports@FreeBSD.ORG Subject: Re: ports/23049: gnapster 1.4* should be able to compile witout gnome. Message-ID: <20001124011727.F79112@shale.csir.co.za> Mail-Followup-To: Jeremy Lea , Jeremy Norris , freebsd-ports@FreeBSD.ORG References: <200011232250.OAA72608@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200011232250.OAA72608@freefall.freebsd.org>; from ishmael27@home.com on Thu, Nov 23, 2000 at 02:50:02PM -0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, On Thu, Nov 23, 2000 at 02:50:02PM -0800, Jeremy Norris wrote: > diff -urN gnapster/Makefile gnapster.new/Makefile > --- gnapster/Makefile Sun Nov 19 13:36:47 2000 > +++ gnapster.new/Makefile Thu Nov 23 16:31:43 2000 > @@ -12,15 +12,21 @@ > > MAINTAINER= cpiazza@FreeBSD.org > > -LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif > +.if defined(HAVE_GNOME) > +LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk_pixbuf > +.endif > > USE_GMAKE= yes > USE_X_PREFIX= yes > -USE_GNOME= yes > -USE_XPM= yes > +USE_IMLIB= yes > +WANT_GNOME= yes > USE_LIBTOOL= yes > CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ > LIBS="-L${LOCALBASE}/lib" > + > +.if !defined(HAVE_GNOME) > +CONFIGURE_ARGS= --disable-gnome --disable-gdk-pixbuf > +.endif This should look like this: -LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif USE_GMAKE= yes USE_X_PREFIX= yes -USE_GNOME= yes -USE_XPM= yes +USE_IMLIB= yes +WANT_GNOME= yes USE_LIBTOOL= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" + +.include + +.if defined(HAVE_GNOME) +USE_GNOME= yes +LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk_pixbuf +.else +CONFIGURE_ARGS= --disable-gnome --disable-gdk-pixbuf +.endif HAVE_GNOME can only be tested after the inclusion of bsd.port.pre.mk. Regards, -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message