ports/101949: [patch] archivers/squsq
Gabor Kovesdan
gabor at FreeBSD.org
Sat Aug 12 22:40:14 UTC 2006
>Number: 101949
>Category: ports
>Synopsis: [patch] archivers/squsq
>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 Aug 12 22:40:12 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:
- Respect DESTDIR
- Eliminate a patch
>How-To-Repeat:
>Fix:
--- archivers-squsq.diff begins here ---
Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/archivers/squsq/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile 27 Jul 2004 07:04:25 -0000 1.3
+++ Makefile 12 Aug 2006 22:36:26 -0000
@@ -20,7 +20,11 @@
PLIST_FILES= bin/sq bin/usq
+post-patch:
+ @${REINPLACE_CMD} "s@#ifdef C70 | TOPS20@#if defined(C70) || defined(TOPS20)@" \
+ ${WRKSRC}/usq.c
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/sq ${WRKSRC}/usq ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/sq ${WRKSRC}/usq ${TARGETDIR}/bin
.include <bsd.port.mk>
Index: files/patch-aa
===================================================================
RCS file: files/patch-aa
diff -N files/patch-aa
--- files/patch-aa 12 May 2003 13:30:46 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,20 +0,0 @@
---- usq.c.orig Sun Jan 17 01:54:04 1988
-+++ usq.c Sun Jan 17 01:54:05 1988
-@@ -215,7 +215,7 @@
- goto closein;
- }
-
--#ifdef C70 | TOPS20
-+#if defined(C70) || defined(TOPS20)
- filecrc = getx16(inbuff);
- #else
- filecrc = getw16(inbuff);
-@@ -239,7 +239,7 @@
- printf("%s -> %s: ", infile, outfile);
- #endif
-
--#ifdef C70 | TOPS20
-+#if defined(C70) || defined(TOPS20)
- numnodes = getx16(inbuff);
- #else
- numnodes = getw16(inbuff);
--- archivers-squsq.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list