FreeBSD Bugzilla – Attachment 145136 Details for
Bug 192259
[stage][PATCH] x11-clocks/intclock: STAGEify, fix with newer perls
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
intclock.stage.diff (text/plain), 2.41 KB, created by
fullermd
on 2014-07-29 23:38:34 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
fullermd
Created:
2014-07-29 23:38:34 UTC
Size:
2.41 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 363400) >+++ Makefile (working copy) >@@ -16,7 +16,6 @@ > USES= perl5 > USE_PERL5= configure > >-NO_STAGE= yes > post-patch: > @${REINPLACE_CMD} -e \ > 's|$$zonedir/$$countryfile|/usr/share/misc/iso3166|' \ >@@ -28,6 +27,6 @@ > @${FIND} ${WRKSRC} -name \*.bak -delete > > pre-install: >- @${INSTALL} -d ${PREFIX}/share/applications/ >+ @${INSTALL} -d ${STAGEDIR}${PREFIX}/share/applications/ > > .include <bsd.port.mk> >Index: files/patch-Makefile.PL >=================================================================== >--- files/patch-Makefile.PL (revision 0) >+++ files/patch-Makefile.PL (working copy) >@@ -0,0 +1,37 @@ >+--- Makefile.PL.orig 2007-03-31 11:16:20.000000000 -0500 >++++ Makefile.PL 2014-07-29 18:31:31.311559991 -0500 >+@@ -10,7 +10,7 @@ >+ my $configfile = "lib/Intclock.pl"; >+ my @configLines = (); >+ >+-my $datadir = "$prefix/share/intclock"; >++my $datadir = "/usr/local/share/intclock"; >+ push @configLines, "\$config_datadir = \"$datadir\";"; >+ >+ my @graphicModules = qw(Gtk2 Gtk); >+@@ -33,7 +33,7 @@ >+ # preliminary checks >+ #------------------------------------------------------------------------ >+ # Mandatory perl modules >+-foreach my $module qw(Data::Dumper Time::HiRes Locale::Maketext) { >++foreach my $module (qw(Data::Dumper Time::HiRes Locale::Maketext)) { >+ print "Checking whether $module perl module is available... "; >+ eval "use $module"; >+ if ($@) { >+@@ -159,11 +159,11 @@ >+ install:: extra_install >+ >+ extra_install:: >+- mkdir -p $(DATADIR) >+- PERL5LIB=blib/lib perl data/mk_desktop_entry data/intclock.desktop /usr/share/applications/intclock.desktop >+- cp data/intclock.png $(DATADIR) >+- cp data/territories.dat $(DATADIR) >+- cp data/zones.dat $(DATADIR) >++ mkdir -p $(DESTDIR)$(DATADIR) >++ PERL5LIB=blib/lib perl data/mk_desktop_entry data/intclock.desktop $(DESTDIR)/usr/local/share/applications/intclock.desktop >++ cp data/intclock.png $(DESTDIR)$(DATADIR) >++ cp data/territories.dat $(DESTDIR)$(DATADIR) >++ cp data/zones.dat $(DESTDIR)$(DATADIR) >+ >+ all:: .syntax_check >+ > >Property changes on: files/patch-Makefile.PL >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 192259
: 145136