Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  9 Aug 2011 12:05:02 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gnome@FreeBSD.org
Subject:   [PATCH] misc/gnomehier: use dirrmtry for PREFIX/share/games
Message-ID:  <20110809040502.8AD1E15D4@sunpoet.net>

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

>Submitter-Id:	current-users
>Originator:	Sunpoet Po-Chuan Hsieh
>Organization:	The FreeBSD Project
>Confidential:	no 
>Synopsis:	[PATCH] misc/gnomehier: use dirrmtry for PREFIX/share/games
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 8.2-STABLE amd64
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Jul  9 23:23:51 CST
>Description:
- Use dirrmtry for PREFIX/share/games: at least chinese/fortunetw installs to this directory

Port maintainer (gnome@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- gnomehier-2.3_12.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/gnomehier/Makefile,v
retrieving revision 1.41
diff -u -u -r1.41 Makefile
--- Makefile	10 Apr 2009 05:56:03 -0000	1.41
+++ Makefile	5 Aug 2011 01:14:31 -0000
@@ -34,7 +34,7 @@
 	@${ECHO_CMD} etc/mtree/${GNOME_MTREE} >> ${PLIST}
 	@${MKDIR} ${WRKSRC}
 	@${CAT} ${FILESDIR}/dirlist | ${SORT} -r | ${SED} -e \
-		's|^|@dirrm |' >> ${PLIST}
+		's|^|@dirrm |; s|@dirrm share/games|@dirrmtry share/games|' >> ${PLIST}
 	@${ECHO_CMD} "@unexec ${RMDIR} %D/etc/mtree 2>/dev/null || ${TRUE}" >> ${PLIST}
 	@for dir in `${CAT} ${WRKDIR}/dirlist`; \
 	do \
--- gnomehier-2.3_12.patch ends here ---




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