Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2000 01:17:27 -0800
From:      Jeremy Lea <reg@FreeBSD.ORG>
To:        Jeremy Norris <ishmael27@home.com>
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>
In-Reply-To: <200011232250.OAA72608@freefall.freebsd.org>; from ishmael27@home.com on Thu, Nov 23, 2000 at 02:50:02PM -0800
References:  <200011232250.OAA72608@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
+
+.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




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