Add workaround for amazing Module::Install hack by adding DESTDIR to

more or less hardcoded install paths.  Not sure this is actually correct
but at least it doesn't violate fake anymore.
Regenerate PLIST and bump accordingly.

noticed and fix requested by naddy@
This commit is contained in:
simon 2009-06-24 22:44:02 +00:00
parent f7bc57d25d
commit 47f786c214
3 changed files with 34 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/04/26 18:21:26 robert Exp $
# $OpenBSD: Makefile,v 1.3 2009/06/24 22:44:02 simon Exp $
COMMENT= Tag Cloud for RT with searchable custom fields
MODULES= cpan
DISTNAME= RTx-Tags-0.10
PKGNAME= p5-${DISTNAME}p0
PKGNAME= p5-${DISTNAME}p1
CATEGORIES= www
EXTRACT_SUFX= .tgz

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-inc_Module_Install_RTx_pm,v 1.1 2009/06/24 22:44:02 simon Exp $
--- inc/Module/Install/RTx.pm.orig Mon Jun 22 00:15:28 2009
+++ inc/Module/Install/RTx.pm Mon Jun 22 00:16:00 2009
@@ -97,7 +97,7 @@ sub RTx {
my %index = map { $_ => 1 } @INDEX_DIRS;
$self->no_index( directory => $_ ) foreach grep !$index{$_}, @DIRS;
- my $args = join ', ', map "q($_)", map { ($_, $path{$_}) }
+ my $args = join ', ', map "q($_)", map { ($_, '${DESTDIR}'.$path{$_}) }
grep $subdirs{$_}, keys %path;
print "./$_\t=> $path{$_}\n" for sort keys %subdirs;

View File

@ -1,4 +1,23 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/04/23 16:01:49 robert Exp $
@comment $OpenBSD: PLIST,v 1.2 2009/06/24 22:44:02 simon Exp $
html/
html/Callbacks/
html/Callbacks/RTx-Tags/
html/Callbacks/RTx-Tags/Elements/
html/Callbacks/RTx-Tags/Elements/Header/
html/Callbacks/RTx-Tags/Elements/Header/Head
html/Callbacks/RTx-Tags/Search/
html/Callbacks/RTx-Tags/Search/Simple.html/
html/Callbacks/RTx-Tags/Search/Simple.html/PreForm
html/Elements/
html/Elements/TagCloud
html/NoAuth/
html/NoAuth/css/
html/NoAuth/css/cloud.css
lib/RT/
lib/RT/Search/
lib/RT/Search/Googleish_Local.pm
lib/RTx/
lib/RTx/Tags.pm
${P5SITE}/RT/
${P5SITE}/RT/Search/
${P5SITE}/RT/Search/Googleish_Local.pm