Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  7 Aug 2006 12:01:48 +0200 (CEST)
From:      Gabor Kovesdan <gkovesdan@t-hosting.hu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Gabor Kovesdan <gkovesdan@t-hosting.hu>
Subject:   ports/101565: [maintainer update] textproc/gsed
Message-ID:  <20060807100148.12C3728A15B@catv-50635cb6.catv.broadband.hu>
Resent-Message-ID: <200608071010.k77AAH0X013328@freefall.freebsd.org>

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

>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@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:



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