Date: Thu, 3 Aug 2006 18:45:57 +0800 (CST) From: Li-Wen Hsu <lwhsu@lwhsu.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: jkoshy@FreeBSD.org Subject: ports/101312: [PATCH] devel/cil: Fix perl module path Message-ID: <20060803104557.CC07EB9AB@knight.lwhsu.ckefgisc.org> Resent-Message-ID: <200608031050.k73AoGsG071497@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101312 >Category: ports >Synopsis: [PATCH] devel/cil: Fix perl module path >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: Thu Aug 03 10:50:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Li-Wen Hsu >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD knight.lwhsu.ckefgisc.org 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon May 29 13:56:44 CST 2006 >Description: - Fix perl module path, make bin/cilly work - Fix portlint -a warning about %%LOCALBASE%% Port maintainer (jkoshy@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- cil-1.3.5.patch begins here --- diff -ruN --exclude=CVS /usr/ports/devel/cil/Makefile /home/lwhsu/ports/devel/cil/Makefile --- /usr/ports/devel/cil/Makefile Mon Jul 10 13:59:32 2006 +++ /home/lwhsu/ports/devel/cil/Makefile Thu Aug 3 16:04:52 2006 @@ -10,7 +10,7 @@ CATEGORIES= devel lang MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://manju.cs.berkeley.edu/cil/distrib/ -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= jkoshy@FreeBSD.org COMMENT= Infrastructure for C Program Analysis and Transformation @@ -38,6 +38,10 @@ post-patch: @${REINPLACE_CMD} -e 's:@CILHOME@/lib:${SITE_PERL}/CIL:g; s:\@CILHOME\@:${PREFIX}:g' ${WRKSRC}/bin/CilConfig.pm.in @${REINPLACE_CMD} -e 's|$$::cilhome|${PREFIX}|g; s|obj/$$::archos|libexec/cil|g' ${WRKSRC}/bin/cilly + @${REINPLACE_CMD} -e 's|^use Cilly;|use CIL::Cilly|' ${WRKSRC}/bin/cilly + @${REINPLACE_CMD} -e 's|^use KeptFile;|use CIL::KeptFile;|; s|^use OutputFile;|use CIL::OutputFile;|; s|^use TempFile;|use CIL::TempFile;|' ${WRKSRC}/lib/Cilly.pm + @${REINPLACE_CMD} -e 's|^use OutputFile;|use CIL::OutputFile;|' ${WRKSRC}/lib/KeptFile.pm + @${REINPLACE_CMD} -e 's|^use OutputFile;|use CIL::OutputFile;|' ${WRKSRC}/lib/TempFile.pm do-install: .if !defined(NOPORTDOCS) diff -ruN --exclude=CVS /usr/ports/devel/cil/pkg-plist /home/lwhsu/ports/devel/cil/pkg-plist --- /usr/ports/devel/cil/pkg-plist Mon Jul 10 13:59:32 2006 +++ /home/lwhsu/ports/devel/cil/pkg-plist Thu Aug 3 16:01:22 2006 @@ -144,7 +144,6 @@ %%PORTDOCS%%@dirrm %%DOCSDIR%%/api %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm libexec/cil -@cwd %%LOCALBASE%% %%SITE_PERL%%/CIL/Cilly.pm %%SITE_PERL%%/CIL/KeptFile.pm %%SITE_PERL%%/CIL/OutputFile.pm --- cil-1.3.5.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?20060803104557.CC07EB9AB>