From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 26 19:58:44 2004 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 932E816A4CF for ; Mon, 26 Apr 2004 19:58:44 -0700 (PDT) Received: from q.closedsrc.org (ip233.gte244.dsl-acs2.sea.iinet.com [209.20.244.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4680D43D49 for ; Mon, 26 Apr 2004 19:58:44 -0700 (PDT) (envelope-from question@closedsrc.org) Received: by q.closedsrc.org (Postfix, from userid 1001) id 7041945069; Mon, 26 Apr 2004 19:57:38 -0700 (PDT) Date: Mon, 26 Apr 2004 19:57:38 -0700 From: Linh Pham To: Michael Johnson Message-ID: <20040427025738.GA92553@q.internal.closedsrc.org> References: <200404270050.i3R0oOsR099406@freefall.freebsd.org> <78874ECE-97F3-11D8-9F3D-000A958C81C6@ahze.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kORqDWCi7qDJ0mEj" Content-Disposition: inline In-Reply-To: <78874ECE-97F3-11D8-9F3D-000A958C81C6@ahze.net> Organization: closedsrc.org Mail-Copies-To: poster X-PGP-Key: http://closedsrc.org/~question/pubkey.asc User-Agent: Mutt/1.5.6i cc: Linh Pham cc: 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 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 02:58:44 -0000 --kORqDWCi7qDJ0mEj Content-Type: multipart/mixed; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2004-04-26 22:34 -0400, Michael Johnson wrote: # you want ${WRKDIR} instead of ./work because people like me who have=20 # one ports dir and do ports over nfs use WRKDIR=3D/some/other/dir so it=20 # 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. --PNTmBPCT7hxwcZjr 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 =20 --PNTmBPCT7hxwcZjr-- --kORqDWCi7qDJ0mEj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAjcwiwhofDeWkDMIRAs5zAJ0VxCn4CxOePCByGeSGssjyQkp9ZQCcDKM2 qT27fSCELZ9MfD8pdtEO3ys= =Mr1o -----END PGP SIGNATURE----- --kORqDWCi7qDJ0mEj--