Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2005 15:38:59 GMT
From:      FUJISHIMA Satsuki <sf@FreeBSD.org>
To:        "Mike O'Brien" <obrien@rushg.aero.org>
Cc:        ports@FreeBSD.org
Subject:   Re: portsdb -uU INDEX build failure
Message-ID:  <200506091538.j59FcxgC013323@freefall.freebsd.org>
In-Reply-To: <200506082229.j58MTVX20490@rushe.aero.org>
References:  <200506082229.j58MTVX20490@rushe.aero.org>

next in thread | previous in thread | raw e-mail | index | archive | help
make in 4-STABLE does not handle := as 5.x and 6.x do, when variable
is not defined.

/usr/ports/x11-wm/fvwm2$ pkg_info -I imlib-*
imlib-1.9.15_2      A graphic library for enlightenment package
$ /home/chroot/4/usr/bin/make describe
fvwm-devel-imlib-2.4.19
$ PKGNAMESUFFIX=-devel /home/chroot/4/usr/bin/make describe
Variable PKGNAMESUFFIX is recursive.
$ uname -rms
FreeBSD 6.0-CURRENT i386

(I don't investigate ident issue)

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/x11-wm/fvwm2/Makefile,v
retrieving revision 1.67
diff -u -r1.67 Makefile
--- Makefile	5 Jun 2005 21:12:21 -0000	1.67
+++ Makefile	9 Jun 2005 14:51:35 -0000
@@ -60,7 +60,11 @@
 
 .if ${HAVE_GNOME:Mimlib}!=""
 USE_GNOME=	imlib
+.if defined(PKGNAMESUFFIX)
 PKGNAMESUFFIX:=	${PKGNAMESUFFIX}-imlib
+.else
+PKGNAMESUFFIX=	-imlib
+.endif
 CONFIGURE_ARGS+=	--with-gnome --enable-gnome-hints \
 			--enable-gtktest --enable-imlibtest
 PLIST_SUB+=	GTK=""

At Wed, 08 Jun 2005 15:29:31 -0700,
Mike O'Brien wrote:
> # portsdb -uU
> Updating the ports index ... Generating INDEX.tmp - please wait..ident warning: no id keywords in standard input
> Variable PKGNAMESUFFIX is recursive.
> ===> x11-wm/fvwm2 failed
> *** Error code 1
> 1 error



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