ports/101565: [maintainer update] textproc/gsed
Gabor Kovesdan
gkovesdan at t-hosting.hu
Mon Aug 7 10:10:20 UTC 2006
>Number: 101565
>Category: ports
>Synopsis: [maintainer update] textproc/gsed
>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 Aug 07 10:10:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Gabor Kovesdan
>Release: FreeBSD 6.1-STABLE i386
>Organization:
n/a
>Environment:
System: FreeBSD spitfire 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Jul 29 18:31:18 CEST 2006 gabor at spitfire:/usr/src/sys/i386/compile/SPITFIRE i386
>Description:
- Fix typo in manpage
- Eliminate a patch
- Respect DESTDIR
>How-To-Repeat:
>Fix:
--- textproc-sed.diff begins here ---
Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/textproc/gsed/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile 20 Apr 2006 05:51:54 -0000 1.23
+++ Makefile 7 Aug 2006 09:59:59 -0000
@@ -7,6 +7,7 @@
PORTNAME= sed
PORTVERSION= 4.1.5
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -26,11 +27,11 @@
# Local variables
PATCH_SUBDIRS= . doc lib sed
-DATADIR= ${PREFIX}/share/${PKGBASE}
+DATADIR= ${TARGETDIR}/share/${PKGBASE}
SAMP_FILES= binary*.sed dc.sed
-EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE}
+EXAMPLESDIR= ${TARGETDIR}/share/examples/${PKGBASE}
PORTDOCS= AUTHORS BUGS COPYING COPYING.DOC NEWS README THANKS
-DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
+DOCSDIR= ${TARGETDIR}/share/doc/${PKGBASE}
.include <bsd.port.pre.mk>
@@ -41,8 +42,9 @@
.endif
post-patch:
- @${REINPLACE_CMD} -e 's,^\* sed:,* CNU sed:,' \
+ @${REINPLACE_CMD} 's,^\* sed:,* GNU sed:,' \
${WRKSRC}/doc/config.texi
+ @${REINPLACE_CMD} "s|#include <alloca.h>||" ${WRKSRC}/lib/regex_internal.h
post-configure:
.for subdir in ${PATCH_SUBDIRS}
Index: files/patch-lib-regex_internal.h
===================================================================
RCS file: files/patch-lib-regex_internal.h
diff -N files/patch-lib-regex_internal.h
--- files/patch-lib-regex_internal.h 15 Apr 2006 15:34:38 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- lib/regex_internal.h.orig Tue Feb 28 01:36:13 2006
-+++ lib/regex_internal.h Tue Feb 28 01:36:38 2006
-@@ -410,8 +410,6 @@
- #define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx))
- #define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx))
-
--#include <alloca.h>
--
- #ifndef _LIBC
- # if HAVE_ALLOCA
- /* The OS usually guarantees only one guard page at the bottom of the stack,
--- textproc-sed.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list