Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2006 13:50:41 +0300 (EEST)
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/98079: editors/emacs-devel portlint fixes
Message-ID:  <200605291050.k4TAofJT008152@gothmog.pc>
Resent-Message-ID: <200605291050.k4TAoMB8095602@freefall.freebsd.org>

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

>Number:         98079
>Category:       ports
>Synopsis:       editors/emacs-devel portlint fixes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 29 10:50:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Giorgos Keramidas
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:

	System: FreeBSD gothmog.pc 7.0-CURRENT FreeBSD 7.0-CURRENT #1:
	Fri May 26 18:45:58 EEST 2006
	build@gothmog.pc:/home/build/obj/home/build/src/sys/GOTHMOG i386

>Description:

	The attached patch fixes all warnings of `portlint -A -C'
	for the emacs-devel port.

>How-To-Repeat:

	1. Install devel/portlint

	2. Run `portlint -A -C' in /usr/ports/editors/emacs-devel

>Fix:

--- emacs-devel.portlint.patch begins here ---
cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/editors/emacs-devel/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	19 May 2006 18:41:29 -0000	1.3
+++ Makefile	29 May 2006 10:46:41 -0000
@@ -9,7 +9,7 @@
 PORTVERSION=	${EMACS_VER}.${SNAPSHOT}
 CATEGORIES=	editors ipv6
 MASTER_SITES=	${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= keramida
+MASTER_SITE_SUBDIR=	keramida
 DISTNAME=	${PORTNAME}-cvs-snapshot-2006.05.02.05.51.52
 
 MAINTAINER=	keramida@ceid.upatras.gr
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/editors/emacs-devel/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	19 May 2006 18:41:29 -0000	1.2
+++ pkg-plist	29 May 2006 10:47:43 -0000
@@ -2603,7 +2603,7 @@
 var/games/emacs/tetris-scores
 @dirrm libexec/emacs/%%EMACS_VER%%/%%EMACS_ARCH%%
 @dirrm libexec/emacs/%%EMACS_VER%%
-@unexec rmdir %D/libexec/emacs 2>/dev/null || true
+@dirrmtry %D/libexec/emacs
 @dirrm %%DATADIR%%/%%EMACS_VER%%/etc/e
 @dirrm %%DATADIR%%/%%EMACS_VER%%/etc/images/ezimage
 @dirrm %%DATADIR%%/%%EMACS_VER%%/etc/images/gnus
@@ -2639,8 +2639,9 @@
 @dirrm %%DATADIR%%/%%EMACS_VER%%/lisp/textmodes
 @dirrm %%DATADIR%%/%%EMACS_VER%%/lisp/url
 @dirrm %%DATADIR%%/%%EMACS_VER%%/lisp
-@unexec rmdir %D/%%DATADIR%%/site-lisp 2>/dev/null || true
-@unexec rmdir %D%%DATADIR%% 2>/dev/null || true
+@dirrmtry %D/%%DATADIR%%/%%EMACS_VER%%/site-lisp 2>/dev/null || true
+@dirrmtry %D/%%DATADIR%%/site-lisp 2>/dev/null || true
+@dirrmtry %D%%DATADIR%% 2>/dev/null || true
 @dirrm var/games/emacs
-@unexec rmdir %D/var/games 2>/dev/null || true
-@unexec rmdir %D/var 2>/dev/null || true
+@dirrmtry %D/var/games 2>/dev/null || true
+@dirrmtry %D/var 2>/dev/null || true
cvs diff: Diffing files
--- emacs-devel.portlint.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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