Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jun 2008 21:24:27 GMT
From:      "Pedro F. Giffuni" <pfgshield-freebsd@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124623: Minor enhancement to sysutils/coreutils
Message-ID:  <200806152124.m5FLORBB075566@www.freebsd.org>
Resent-Message-ID: <200806152130.m5FLU42w064091@freefall.freebsd.org>

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

>Number:         124623
>Category:       ports
>Synopsis:       Minor enhancement to sysutils/coreutils
>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:   Sun Jun 15 21:30:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Release:        6.3-Release
>Organization:
>Environment:
FreeBSD kakumen.cable.net.co 6.3-RELEASE FreeBSD 6.3-RELEASE #10: Sat Jan 19 01:13:55 COT 2008     root@kakumen.cable.net.co:/usr/src/sys/amd64/compile/SMP  amd64
>Description:
Cleanup conflicts in this port (fileutils, sh-utils and textutils don't exist anymore)
Provide a regression-test target to determine the convenience of updating this port.
Add commented USE_BISON line as it is recommended but not required, maybe future versions will need it.
Update the WWW.
No functional change.
>How-To-Repeat:

>Fix:
diff -ruN coreutils.orig/Makefile coreutils/Makefile
--- coreutils.orig/Makefile	2008-06-15 11:21:37.000000000 -0500
+++ coreutils/Makefile	2008-06-15 16:13:42.000000000 -0500
@@ -15,10 +15,8 @@
 MAINTAINER=	jharris@widomaker.com
 COMMENT=	The Free Software Foundation's core utilities
 
-CONFLICTS=	fileutils-[0-9]* id-utils-[0-9]* linux-gid-[0-9]* \
-		sh-utils-[0-9]*  textutils-[0-9]*
+CONFLICTS=	id-utils-[0-9]* linux-gid-[0-9]*
 
-USE_GCC=	3.4+
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -26,6 +24,7 @@
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
 
 USE_GMAKE=	yes
+#USE_BISON=	yes
 
 .if defined(WITHOUT_NLS)
 CONFIGURE_ARGS+=--disable-nls
@@ -60,6 +59,7 @@
 post-build:
 	@${REINPLACE_CMD} -e "s/ lib / /g" ${WRKSRC}/Makefile
 
-post-install:
+regression-test:
+	(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} check)
 
 .include <bsd.port.mk>
diff -ruN coreutils.orig/pkg-descr coreutils/pkg-descr
--- coreutils.orig/pkg-descr	2008-06-15 11:21:37.000000000 -0500
+++ coreutils/pkg-descr	2008-06-15 16:05:16.000000000 -0500
@@ -1,4 +1,5 @@
-The Free Software Foundation's core utilities:
+The GNU Core Utilities are the basic file, shell and text manipulation
+utilities of the GNU operating system:
 
   basename, cat, chgrp, chmod, chown, chroot, cksum, comm, cp, csplit,
   cut, date, dd, df, dir, dircolors, dirname, du, echo, env, expand, expr,
@@ -20,4 +21,4 @@
 GNU su does not support a wheel group.  This port installs it
 without the suid bit, unless you define WITH_SUID while building.
 
-WWW: http://www.gnu.org/directory/coreutils.html
+WWW: http://www.gnu.org/software/coreutils/


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



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