Date: Sat, 4 Sep 2004 14:53:06 +0800 (CST) From: Yen-Ming Lee <leeym@utopia.leeym.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: sergei@FreeBSD.org Subject: ports/71363: [PATCH] devel/porttools: check extra directories Message-ID: <20040904065306.25E373EAB04@utopia.leeym.com> Resent-Message-ID: <200409040700.i8470o87062966@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 71363 >Category: ports >Synopsis: [PATCH] devel/porttools: check extra directories >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 04 07:00:49 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.2.1-RELEASE-p9 i386 >Organization: >Environment: System: FreeBSD utopia.leeym.com 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #167: Tue Jul 27 05:17:58 CST 2004 >Description: - remove PREFIX from MAKE_ENV (PREFIX is in MAKE_ENV by default) - check extra directories - bump PORTREVISION (or patch into next release) Added file(s): - files/patch-cmd_test.in Port maintainer (sergei@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- porttools-0.63_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/porttools/Makefile,v retrieving revision 1.13 diff -u -u -r1.13 Makefile --- Makefile 29 Aug 2004 01:27:05 -0000 1.13 +++ Makefile 4 Sep 2004 06:43:22 -0000 @@ -7,7 +7,7 @@ PORTNAME= porttools PORTVERSION= 0.63 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -28,7 +28,7 @@ INSTALL_TARGET= install install-docs .endif -MAKE_ENV= PREFIX="${PREFIX}" DATADIR="${DATADIR}" DOCSDIR="${DOCSDIR}" +MAKE_ENV= DATADIR="${DATADIR}" DOCSDIR="${DOCSDIR}" MAN1= port.1 MAN5= porttools.5 Index: files/patch-cmd_test.in =================================================================== RCS file: files/patch-cmd_test.in diff -N files/patch-cmd_test.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-cmd_test.in 4 Sep 2004 06:43:22 -0000 @@ -0,0 +1,21 @@ +--- cmd_test.in.orig Sat Sep 4 12:54:22 2004 ++++ cmd_test.in Sat Sep 4 12:55:07 2004 +@@ -178,7 +178,7 @@ + done + + # Check for extra files left +-echo "===> Extra files check" ++echo "===> Extra files and directories check" + if [ -d ${PREFIX} -a "${USE_X_PREFIX}" != "yes" ] + then + # Remove PREFIX from the extra files list +@@ -186,6 +186,9 @@ + find ${PREFIX} ! -type d | \ + egrep -v "${PREFIX}/share/nls/(POSIX|en_US.US-ASCII)" | \ + sed -e "s,^${PREFIX}/,," ++ find ${LOCALBASE}/ -type d | sed "s,^${LOCALBASE}/,," | sort > ${PREFIX}/.PLIST_DIRS.before ++ find ${PREFIX}/ -type d | sed "s,^${PREFIX}/,," | sort > ${PREFIX}/.PLIST_DIRS.after ++ comm -13 ${PREFIX}/.PLIST_DIRS.before ${PREFIX}/.PLIST_DIRS.after | sort -r | awk '{print "@unexec rmdir %D/"$1" 2>/dev/null || true"}' + fi + + # Finish with a clean workspace --- porttools-0.63_2.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?20040904065306.25E373EAB04>