devel/ccache fix (pkg-messeage.in)

Masafumi Otsune info at otsune.com
Sat Dec 11 13:56:35 PST 2004


pkg-messeage on devel/ccache is wrong as follows.
>=== NOTE ===
>Please read /usr/local/ccache-howto-freebsd.txt for information on using
>ccache with FreeBSD ports and src.

I think that it will be corrected by applying such patch.

--- ccache.orig/Makefile        Tue Dec  7 17:17:39 2004
+++ ccache/Makefile     Sun Dec 12 06:28:20 2004
@@ -65,7 +65,7 @@
 		s|%%LOCALBASE%%|${LOCALBASE}|' \
 		${FILESDIR}/${HOWTO}.in > ${WRKDIR}/${HOWTO}
 	@${SED} -e 's|%%HOWTO%%|${HOWTO}|; \
-		s|%%LOCALBASE%%|${LOCALBASE}|' \
+		s|%%DOCSDIR%%|${DOCSDIR}|' \
 		${FILESDIR}/pkg-message.in >${PKGMESSAGE}
 .endif

diff -uNr ccache.orig/files/pkg-message.in ccache/files/pkg-message.in
--- ccache.orig/files/pkg-message.in    Thu Dec  2 23:10:34 2004
+++ ccache/files/pkg-message.in Sun Dec 12 06:27:50 2004
@@ -1,5 +1,5 @@

 === NOTE ===
-Please read %%LOCALBASE%%/%%HOWTO%% for information on using
+Please read %%DOCSDIR%%/%%HOWTO%% for information on using
 ccache with FreeBSD ports and src.

-- 
Masafumi Otsune
http://www.otsune.com/


More information about the freebsd-ports mailing list