ports/128920: [PATCH] sysutils/lxsplit: update to 0.2.4

Yi-Jheng Lin yzlin at cs.nctu.edu.tw
Sun Nov 16 18:30:04 UTC 2008


>Number:         128920
>Category:       ports
>Synopsis:       [PATCH] sysutils/lxsplit: update to 0.2.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 16 18:30:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yi-Jheng Lin
>Release:        FreeBSD 7.0-RELEASE-p4 amd64
>Organization:
NCTU CS
>Environment:
System: FreeBSD stucgi 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Fri Sep  5 14:56:26 CST
>Description:
- Update to 0.2.4

Port maintainer (hideo at lastamericanempire.com) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- lxsplit-0.2.4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/lxsplit/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	30 Apr 2008 16:48:47 -0000	1.4
+++ Makefile	16 Nov 2008 18:27:38 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	lxsplit
-PORTVERSION=	0.2.2
+PORTVERSION=	0.2.4
 CATEGORIES=	sysutils
 MASTER_SITES=	SF
 
@@ -14,9 +14,13 @@
 COMMENT=	Simple program to split or join files
 
 PLIST_FILES=	bin/lxsplit
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+PORTDOCS=	COPYING ChangeLog README
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/lxsplit ${PREFIX}/bin/
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+.endif
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/sysutils/lxsplit/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo	30 Apr 2008 16:48:47 -0000	1.4
+++ distinfo	16 Nov 2008 18:27:38 -0000
@@ -1,3 +1,3 @@
-MD5 (lxsplit-0.2.2.tar.gz) = f8de6f2d70b31eb473fbe2831844da77
-SHA256 (lxsplit-0.2.2.tar.gz) = 3efa6511b0d979f1bb7141f34ea1c0654a9d4259004c093c70760c1d2a5bc17e
-SIZE (lxsplit-0.2.2.tar.gz) = 14341
+MD5 (lxsplit-0.2.4.tar.gz) = ed21a08c167c08d4d81c820782947cb1
+SHA256 (lxsplit-0.2.4.tar.gz) = 858fa939803b2eba97ccc5ec57011c4f4b613ff299abbdc51e2f921016845056
+SIZE (lxsplit-0.2.4.tar.gz) = 14663
Index: files/patch-Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/lxsplit/files/patch-Makefile,v
retrieving revision 1.1
diff -u -r1.1 patch-Makefile
--- files/patch-Makefile	30 Apr 2008 16:48:47 -0000	1.1
+++ files/patch-Makefile	16 Nov 2008 18:27:38 -0000
@@ -1,6 +1,6 @@
---- Makefile.orig	2008-04-28 16:55:08.000000000 -0500
-+++ Makefile	2008-04-28 16:56:07.000000000 -0500
-@@ -9,13 +9,10 @@
+--- Makefile.orig	2008-05-31 16:03:10.000000000 +0800
++++ Makefile	2008-11-17 02:23:39.000000000 +0800
+@@ -9,29 +9,14 @@
  ####### Compiler, tools and options
  
  CC	?=	gcc
@@ -8,16 +8,18 @@
 -CC	:=	gcc
 -endif
  INCPATH :=	.
--CFLAGS	:=	-Wall -W -O2 -DNO_DEBUG
+-CFLAGS	?=	-O2
+-CFLAGS	:=	$(CFLAGS) -Wall -W -DNO_DEBUG
 +CFLAGS	+=	-Wall -W
  LDLIBS	:=	
 -LDFLAGS	:=	
+-
+-# 64 bit file offsets even on 32 bit
+-# platforms (LFS, if supported by the
+-# operating system): yes or no.
+-USE_LARGEFILE:=	yes
 +LDFLAGS	+=	
  
- # 64 bit file offsets even on 32 bit
- # platforms (LFS, if supported by the
-@@ -24,13 +21,7 @@
- 
  INSTALL_PATH :=	/usr/local/bin
  
 -ifeq ($(USE_LARGEFILE),yes)
@@ -30,12 +32,3 @@
  
  ####### Files
  
-@@ -54,7 +45,7 @@
- 	$(CC) $(LDFLAGS) -o $(BINARY) $(OBJECTS) $(LDLIBS)
- 
- uoff_t.h: mkuoff_t.c
--	$(CC) $(FILESIZE_DEFS) -o mkuoff_t mkuoff_t.c
-+	$(CC) $(CFLAGS) $(FILESIZE_DEFS) -o mkuoff_t mkuoff_t.c
- 	@echo "Generating uoff_t.h"
- 	@./mkuoff_t
- 
--- lxsplit-0.2.4.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list