Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2003 01:58:09 -0500
From:      Jon Noack <noackjr@alumni.rice.edu>
To:        daichi <daichi@freebsd.org>
Cc:        ports@FreeBSD.org
Subject:   Re: gd-nox11-2.0.15 (graphics/gd-nox11) won't build
Message-ID:  <3F0D0E81.4040305@alumni.rice.edu>
In-Reply-To: <20030710133641.7dd2bfb7.daichi@freebsd.org>
References:  <3F0C5447.5000407@alumni.rice.edu> <20030710133641.7dd2bfb7.daichi@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
OK -- my original email was slightly in error.  I was actually trying to 
build graphics/gd-nox11 instead of graphics/gd2.  In any case, I've 
tracked the error down to gd2/files/Makefile.bsd (included from 
gd2/Makefile which is in turn included from gd-nox11/Makefile).

gd-nox11/Makefile has the following defines before the include:
WITHOUT_X11=            yes
WITHOUT_XPM=            yes

gd2/files/Makefile.bsd acts as if these 2 are not defined while 
gd2/Makefile obeys them.  If I define them in /etc/make.conf, the build 
works fine.

To sum up, the issue is that gd2/files/Makefile.bsd is not inheriting 
defined values from gd-nox11/Makefile (through gd2/Makefile).

Everyone got that?  good... (sorry if it was confusing)
Jon Noack

daichi said the following on 7/9/2003 11:36 PM:
> Can you install gd-nox11 with follow patch ?
> 
> --- gd2/Makefile.orig   Thu Jul 10 13:34:59 2003
> +++ gd2/Makefile        Thu Jul 10 13:35:34 2003
> @@ -30,9 +30,9 @@
>  PKGNAMESUFFIX= -nox11
>  .if !defined(WITHOUT_XPM)
>  LIB_DEPENDS+=  Xpm:${PORTSDIR}/graphics/xpm
> -.endif
>  .else
>  USE_XPM=       yes
> +.endif
>  .endif
>  
>  .if defined(WITH_LZW) || defined(HAVE_UNISYS_LICENSE) || \
> 
> --
>   Daichi GOTO, http://people.freebsd.org/~daichi



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