portsdb -uU INDEX build failure

FUJISHIMA Satsuki sf at FreeBSD.org
Thu Jun 9 15:39:00 GMT 2005


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


More information about the freebsd-ports mailing list