Date: Tue, 27 Apr 2004 09:40:19 -0700 (PDT) From: Linh Pham <question@closedsrc.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/66005: New port: mail/p5-SpamAssassin-devel - port that follows the 3.0 CVS devel tree of SpamAssassin Message-ID: <200404271640.i3RGeJ15024626@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/66005; it has been noted by GNATS. From: Linh Pham <question@closedsrc.org> To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/66005: New port: mail/p5-SpamAssassin-devel - port that follows the 3.0 CVS devel tree of SpamAssassin Date: Tue, 27 Apr 2004 09:32:08 -0700 --9zSXsLTf0vkW971A Content-Type: multipart/mixed; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Forgot to include gnats-submit in my reply back: On 2004-04-26 22:34 -0400, Michael Johnson <ahze@ahze.net> wrote: # you want ${WRKDIR} instead of ./work because people like me who have # one ports dir and do ports over nfs use WRKDIR=3D/some/other/dir so it # doesn't actually do the build over nfs. Thanks. I've changed WRKSRC to use ${WRKDIR} instead. # you want to use USE_REINPLACE=3Dyes and ${REINPLACE_CMD} instead of # ${SED} I've replaced two out of three of the ${SED} instances with ${REINPLACE_CMD}. The other one caused Makefile.PL to not be edited properly. I pretty much used the mail/p5-Mail-SpamAssassin port as a basis for this one. --=20 Linh Pham question@closedsrc.org Webmaster and FreeBSD Geek http://closedsrc.org Apprentice Manager Editor and Writer http://www.daemonnews.org C++ is to C, as lung cancer is to lung | There is always one more bug. --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sa-devel_Makefile,v2.diff" Content-Transfer-Encoding: quoted-printable --- sa-devel_Makefile Mon Apr 26 17:42:04 2004 +++ sa-devel_Makefile,v2 Mon Apr 26 19:54:25 2004 @@ -12,10 +12,12 @@ ${MASTER_SITE_PERL_CPAN} # MASTER_SITE_SUBDIR=3D Mail DISTNAME=3D Mail-SpamAssassin-3.000000-cvs -WRKSRC=3D ./work/Mail-SpamAssassin-3.000000/ +WRKSRC=3D ${WRKDIR}/Mail-SpamAssassin-3.000000/ EXTRACT_SUFX=3D .tar.gz PKGNAMEPREFIX=3D p5- =20 +USE_REINPLACE=3D yes + MAINTAINER=3D perl@FreeBSD.org COMMENT=3D A highly efficient mail filter for identifying spam =20 @@ -27,7 +29,6 @@ =20 PERL_CONFIGURE=3D yes CONFIGURE_ARGS+=3D SYSCONFDIR=3D"${PREFIX}/etc" \ - RUN_RAZOR_TESTS=3D"no" RUN_RAZOR2_TESTS=3D"no" \ CONTACT_ADDRESS=3D"the administrator of that system" =20 MAN3=3D Mail::SpamAssassin.3 Mail::SpamAssassin::PerMsgStatus.3 \ @@ -53,7 +54,7 @@ @${MV} ${WRKSRC}/Makefile.PL.sed ${WRKSRC}/Makefile.PL =20 post-build: - @${SED} ${SED_SCRIPT} ${FILESDIR}/spamd.sh > ${WRKDIR}/spamd.sh + @${REINPLACE_CMD} ${SED_SCRIPT} ${FILESDIR}/spamd.sh > ${WRKDIR}/spamd.sh =20 post-install: @${STRIP_CMD} ${PREFIX}/bin/spamc @@ -65,7 +66,7 @@ BUGS COPYRIGHT Changes README TRADEMARK procmailrc.example sample* \ spamd/README* sql/* ${DOCSDIR} .endif - @${SED} -e 's#PREFIX#${PREFIX}#' ${PKGMESSAGE} + @${REINPLACE_CMD} -e 's#PREFIX#${PREFIX}#' ${PKGMESSAGE} =20 .include <bsd.port.pre.mk> =20 --oyUTqETQ0mS9luUI-- --9zSXsLTf0vkW971A Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAjosIwhofDeWkDMIRAq3KAKCSW39a7Nu4GjCWjKVYDR1Zl6yGLACfVjA1 UWryabVqCNEpOfsiLri4qZ0= =jo02 -----END PGP SIGNATURE----- --9zSXsLTf0vkW971A--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404271640.i3RGeJ15024626>