Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2004 20:47:24 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        hubert@frbsd.org
Subject:   ports/72127: [PATCH] security/smtpmap: add USE_GCC=2.95 and unbreak
Message-ID:  <20040927124724.8C2393EAD6D@utopia.leeym.com>
Resent-Message-ID: <200409271250.i8RCoNjp035579@freefall.freebsd.org>

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

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



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