Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2008 13:09:10 +0900 (JST)
From:      YAMAMOTO Shigeru <shigeru@iij.ad.jp>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [patch] fix errors at 'make index'
Message-ID:  <20080328.130910.102576097.shigeru@iij.ad.jp>

next in thread | raw e-mail | index | archive | help
----Next_Part(Fri_Mar_28_13_09_10_2008_482)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Hi, all.

I send a patch to fix errors at doing 'make index'
 in today's current environment.

Some Makefiles are using "single quote"(')
 for quoting 'OPTIONS' message string.
But definition of parsing OPTIONS,
 which is defined at @ports/Mk/bsd.ports.mk,
 is,

...
REALOPTIONS=${OPTIONS:C/".*"//g}
.       for O in ${REALOPTIONS}
RO:=${O}
...

So, I change single quote charactors in some Makefiles
 to double quote charactors (").

After fixing, I hove no ploblem.

Thanks,
-------
YAMAMOTO Shigeru	<shigeru@iij.ad.jp>

----Next_Part(Fri_Mar_28_13_09_10_2008_482)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="ports.fix.make.index.diff"

Index: devel/libelf/Makefile
===================================================================
RCS file: /share/cvsup/FreeBSD/current/usr/ports/devel/libelf/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- devel/libelf/Makefile	28 Jan 2007 00:58:37 -0000	1.19
+++ devel/libelf/Makefile	27 Mar 2008 00:55:47 -0000
@@ -15,8 +15,8 @@
 MAINTAINER=	roam@FreeBSD.org
 COMMENT=	A public ELF file access library similar to libelf(3) in Solaris
 
-OPTIONS=	EXTENDED	'ELF format extensions' on \
-		NLS		'Native Language Support' on
+OPTIONS=	EXTENDED	"ELF format extensions" on \
+		NLS		"Native Language Support" on
 
 .include <bsd.port.pre.mk>
 
Index: dns/djbdns/Makefile
===================================================================
RCS file: /share/cvsup/FreeBSD/current/usr/ports/dns/djbdns/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- dns/djbdns/Makefile	4 Nov 2007 21:38:07 -0000	1.30
+++ dns/djbdns/Makefile	27 Mar 2008 00:56:15 -0000
@@ -14,13 +14,13 @@
 DISTNAME=	djbdns-${DJBDNS_VER}
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
 
-OPTIONS=	DUMPCACHE	'persistent cache for dnscache' off \
-		IPV6		'IPv6 support by Felix von Leitner' off \
-		IGNOREIP	'ignoreip2 patch by Russell Nelson' off \
-		JUMBO		'jumbo patch by Claudiu Costin' off \
-		MAN		'manual pages by Gerritt Pape' on \
-		PERSISTENT_MMAP	'persistent mmap patch by Lennert Buytenhek' off \
-		SRV		'SRV record patch by Michael Handler' off
+OPTIONS=	DUMPCACHE	"persistent cache for dnscache" off \
+		IPV6		"IPv6 support by Felix von Leitner" off \
+		IGNOREIP	"ignoreip2 patch by Russell Nelson" off \
+		JUMBO		"jumbo patch by Claudiu Costin" off \
+		MAN		"manual pages by Gerritt Pape" on \
+		PERSISTENT_MMAP	"persistent mmap patch by Lennert Buytenhek" off \
+		SRV		"SRV record patch by Michael Handler" off
 
 .include <bsd.port.pre.mk>
 
Index: games/utserver/Makefile
===================================================================
RCS file: /share/cvsup/FreeBSD/current/usr/ports/games/utserver/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- games/utserver/Makefile	13 Mar 2008 14:28:12 -0000	1.29
+++ games/utserver/Makefile	27 Mar 2008 02:00:03 -0000
@@ -22,7 +22,7 @@
 
 RUN_DEPENDS=	${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12
 
-OPTIONS=	BONUSPACKS	'install the official bonus packs collection' on
+OPTIONS=	BONUSPACKS	"install the official bonus packs collection" on
 
 USE_LINUX=	yes
 NO_CDROM=	Size; the data set is much too big
Index: net/c3270/Makefile
===================================================================
RCS file: /share/cvsup/FreeBSD/current/usr/ports/net/c3270/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- net/c3270/Makefile	29 Jun 2007 16:29:06 -0000	1.17
+++ net/c3270/Makefile	27 Mar 2008 03:05:23 -0000
@@ -37,18 +37,18 @@
 # c3270's ./configure script supports these.
 # Within it all options except DBCS are enabled by default.
 
-OPTIONS=OPENSSL		'Build with OpenSSL support'		on	\
-	READLINE	'Use system Readline library'		on	\
-	PR3287		'Build pr3287 component'		on	\
-	ANSI		'Include NVT (ANSI) support'		on	\
-	APL		'Include APL support'			on	\
-	DBCS		'Include EBCDIC DBCS support'		off	\
-	FT		'Include IND\$$FILE support'		on	\
-	LOCAL_PROCESS	'Include Local Process support'		on	\
-	PRINTER		'Include printer session support'	on	\
-	SCRIPT		'Include scripting support'		on	\
-	TN3270E		'Include TN3270-Extended support'	on	\
-	TRACE		'Include trace support'			on
+OPTIONS=OPENSSL		"Build with OpenSSL support"		on	\
+	READLINE	"Use system Readline library"		on	\
+	PR3287		"Build pr3287 component"		on	\
+	ANSI		"Include NVT (ANSI) support"		on	\
+	APL		"Include APL support"			on	\
+	DBCS		"Include EBCDIC DBCS support"		off	\
+	FT		"Include IND\$$FILE support"		on	\
+	LOCAL_PROCESS	"Include Local Process support"		on	\
+	PRINTER		"Include printer session support"	on	\
+	SCRIPT		"Include scripting support"		on	\
+	TN3270E		"Include TN3270-Extended support"	on	\
+	TRACE		"Include trace support"			on
 
 .include <bsd.port.pre.mk>
 

----Next_Part(Fri_Mar_28_13_09_10_2008_482)----



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