Skip site navigation (1)Skip section navigation (2)
Date:      27 Aug 2002 20:51:10 -0000
From:      David "Siebörger" <drs@rucus.ru.ac.za>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42095: update port: mail/mess822
Message-ID:  <20020827205110.3112.qmail@bashir.dsl.ru.ac.za>

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

>Number:         42095
>Category:       ports
>Synopsis:       update port: mail/mess822
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 27 14:00:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     David Siebörger
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Rhodes University Computer Users Society
>Environment:
System: FreeBSD bashir.dsl.ru.ac.za 4.6-STABLE FreeBSD 4.6-STABLE #11: Tue Aug 6 10:43:06 SAST 2002 drs@bashir.dsl.ru.ac.za:/usr/obj/usr/src/sys/BASHIR i386

>Description:

Use REINPLACE_CMD and ECHO_CMD rather than perl and echo.

>How-To-Repeat:

>Fix:

--- mess822.patch begins here ---
--- mess822/Makefile.orig	Tue Aug 27 22:27:32 2002
+++ mess822/Makefile	Tue Aug 27 22:32:45 2002
@@ -18,6 +18,7 @@
 RUN_DEPENDS=	${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
 
 NO_PACKAGE=	Violates djb\'s license
+USE_REINPLACE=	yes
 
 ALL_TARGET=	it
 INSTALL_TARGET=	setup check
@@ -38,14 +39,8 @@
 NO_MTREE=	yes
 
 post-patch:
-	@perl -pi.bak -e "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
-	@perl -pi.bak -e "s|.var.qmail|${QMAIL_DIR}|" ${WRKSRC}/conf-qmail
-	@echo '${PREFIX}' > ${WRKSRC}/conf-home
-
-#do-build:
-#	@cd ${WRKSRC} && make ${ALL_TARGET}
-#
-#do-install:
-#	@cd ${WRKSRC} && make ${INSTALL_TARGET}
+	@${REINPLACE_CMD} -e "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
+	@${REINPLACE_CMD} -e "s|.var.qmail|${QMAIL_DIR}|" ${WRKSRC}/conf-qmail
+	@${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home
 
 .include <bsd.port.mk>
--- mess822.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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