Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2004 02:01:45 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72108: [PATCH] mail/ftrack: add USE_GCC=2.95 and unbreak
Message-ID:  <20040926180145.891A03EAD11@utopia.leeym.com>
Resent-Message-ID: <200409261810.i8QIAJH8057060@freefall.freebsd.org>

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

>Number:         72108
>Category:       ports
>Synopsis:       [PATCH] mail/ftrack: add USE_GCC=2.95 and unbreak
>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 Sep 26 18:10:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.3-BETA4 i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.3-BETA4 FreeBSD 5.3-BETA4 #7: Mon Sep 13 05:12:30 CST 2004
>Description:

- add USE_GCC=2.95 and unbreak this port
- utilize PORTDOCS

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

--- ftrack-3.01_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/ftrack/Makefile,v
retrieving revision 1.13
diff -u -u -r1.13 Makefile
--- Makefile	18 Sep 2004 17:16:12 -0000	1.13
+++ Makefile	26 Sep 2004 18:00:50 -0000
@@ -24,12 +24,9 @@
 ALL_TARGET=	ftrack
 MAKEFILE=	${WRKSRC}/MakeFiles/FreeBSD/Makefile
 EXTRACT_AFTER_ARGS=	-d ${WRKSRC}
+USE_GCC=	2.95
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN=		"Does not compile on FreeBSD >= 5.x"
-.endif
+PORTDOCS=	ftrack.faq readme report.err
 
 pre-patch:
 	${REINPLACE_CMD} -e "s@-I../../hpp -I../../.. -O3@-Ihpp -I${LOCALBASE}/include ${CFLAGS}@g; \
@@ -49,11 +46,13 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/ftrack ${PREFIX}/sbin
 	${MKDIR} ${PREFIX}/etc/ftrack
 	${INSTALL_DATA} ${WRKSRC}/samples/node.cfg ${PREFIX}/etc/ftrack/ftrack.cfg-dist
-	${MKDIR} ${PREFIX}/share/doc/ftrack
-	${INSTALL_DATA} ${WRKSRC}/doc/eng/* ${PREFIX}/share/doc/ftrack
 	${INSTALL_DATA} ${WRKSRC}/samples/tpl/* ${PREFIX}/etc/ftrack
 .for FILE in alt2koi.tbl koi2alt.tbl
 	${INSTALL_DATA} ${WRKSRC}/samples/${FILE} ${PREFIX}/etc/ftrack
 .endfor
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/eng/* ${DOCSDIR}
+.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/mail/ftrack/pkg-plist,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-plist
--- pkg-plist	10 Mar 2001 18:56:50 -0000	1.1
+++ pkg-plist	26 Sep 2004 18:00:50 -0000
@@ -6,8 +6,4 @@
 etc/ftrack/alt2koi.tbl
 etc/ftrack/koi2alt.tbl
 sbin/ftrack
-share/doc/ftrack/ftrack.faq
-share/doc/ftrack/readme
-share/doc/ftrack/report.err
 @dirrm etc/ftrack
-@dirrm share/doc/ftrack
--- ftrack-3.01_2.patch ends here ---

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



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