Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2005 15:06:00 -0700 (PDT)
From:      ringworm01@gmail.com
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        ports@FreeBSD.org
Subject:   [NON-MAINTAINER] update/fix textproc/wv
Message-ID:  <20050411220600.2AB56130C37@ringworm.mechee.com>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Micheal C. Shultz
>Organization:
>Confidential:	no
>Synopsis:	[NON-MAINTAINER] update/fix textproc/wv
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 5.4-STABLE i386
>Environment:
System: FreeBSD ringworm.mechee.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Sat Apr 9 15:16:53 PDT 2005 root@ringworm.mechee.com:/usr/obj/usr/src/sys/RINGWORM i386


>Description:

	textproc/wv fails to compile, here is the error output:

	/usr/ports/textproc/wv>make
	"Makefile", line 41: Malformed conditional (${ARCH:L} == "amd64")
	"Makefile", line 41: Need an operator
	"Makefile", line 44: if-less else
	"Makefile", line 44: Need an operator
	"Makefile", line 46: if-less endif
	"Makefile", line 46: Need an operator
	make: fatal errors encountered -- cannot continue

	
>How-To-Repeat:

	try to run any make target
>Fix:

	replace bsd.port.mk with bsd.port.pre.mk/bsd.port.post.mk

--- wv-1.0.0_3.diff begins here ---
diff -ruN wv/Makefile wv-FIXED/Makefile
--- wv/Makefile	Mon Apr 11 14:35:56 2005
+++ wv-FIXED/Makefile	Mon Apr 11 14:41:40 2005
@@ -7,7 +7,7 @@
 
 PORTNAME=	wv
 PORTVERSION=	1.0.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	wvware
@@ -38,6 +38,8 @@
 CPPFLAGS=	-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include
 LDFLAGS=	-L${LOCALBASE}/lib
 
+.include <bsd.port.pre.mk>
+
 .if ${ARCH:L} == "amd64"
 USE_GNOME+=	glib20
 CONFIGURE_ARGS+=	--with-glib
@@ -45,4 +47,5 @@
 CONFIGURE_ARGS+=	--without-glib
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
+
--- wv-1.0.0_3.diff ends here ---




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