ports/72127: [PATCH] security/smtpmap: add USE_GCC=2.95 and unbreak

Yen-Ming Lee leeym at FreeBSD.org
Mon Sep 27 12:50:24 UTC 2004


>Number:         72127
>Category:       ports
>Synopsis:       [PATCH] security/smtpmap: 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:   Mon Sep 27 12:50:23 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
- remove redundant statement

Port maintainer (hubert at frbsd.org) is cc'd.

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

--- smtpmap-0.8_3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/smtpmap/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile	26 Sep 2004 03:07:57 -0000	1.5
+++ Makefile	27 Sep 2004 12:46:13 -0000
@@ -22,7 +22,7 @@
 USE_BZIP2=	yes
 USE_REINPLACE=	yes
 USE_GMAKE=	yes
-
+USE_GCC=	2.95
 MAKEFILE=	makefile
 
 .include <bsd.port.pre.mk>
@@ -33,9 +33,9 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
-		-e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/makefile.conf
-	@${REINPLACE_CMD} -e 's|\(INC)\) \(small\)|\1 $$(LIBS) \2|g' ${WRKSRC}/src/makefile
-	@${REINPLACE_CMD} -e 's|-j 5||g' -e 's|@\(./inst\)|\1|g' ${WRKSRC}/makefile
+		-e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+		-e 's|g++|${CXX}|g' ${WRKSRC}/makefile.conf
+	@${REINPLACE_CMD} -e 's|-j 5||g' ${WRKSRC}/makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/smtpmap ${PREFIX}/bin
--- smtpmap-0.8_3.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list