[NON-MAINTAINER] update/fix textproc/wv
ringworm01 at gmail.com
ringworm01 at gmail.com
Mon Apr 11 15:06:03 PDT 2005
>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 at 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 ---
More information about the freebsd-ports
mailing list