FreeBSD Bugzilla – Attachment 125359 Details for
Bug 168977
[PATCH] devel/mercurial: Fix WITHOUT_NLS option handling.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.31 KB, created by
Gleb Popov
on 2012-06-12 14:30:08 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Gleb Popov
Created:
2012-06-12 14:30:08 UTC
Size:
1.31 KB
patch
obsolete
>diff -ruN /usr/ports/devel/mercurial/Makefile ./Makefile >--- /usr/ports/devel/mercurial/Makefile 2012-06-03 23:38:59.000000000 +0400 >+++ ./Makefile 2012-06-12 17:06:55.580974663 +0400 >@@ -69,7 +69,9 @@ > > post-patch: > .if defined(WITHOUT_NLS) >- @${REINPLACE_CMD} '/^build.sub_co.*$$/d' ${WRKSRC}/setup.py >+ @${REINPLACE_CMD} -e 's/^%%NLS%%//' ${WRKSRC}/${PYSETUP} >+.else >+ @${REINPLACE_CMD} -e 's/^%%NLS%%/# /' ${WRKSRC}/${PYSETUP} > .endif > > post-install: >diff -ruN /usr/ports/devel/mercurial/files/patch-setup.py ./files/patch-setup.py >--- /usr/ports/devel/mercurial/files/patch-setup.py 2012-02-05 16:28:15.000000000 +0400 >+++ ./files/patch-setup.py 2012-06-12 17:05:55.572977983 +0400 >@@ -1,6 +1,14 @@ >---- setup.py.orig 2012-02-01 21:23:54.000000000 +0100 >-+++ setup.py 2012-02-02 12:44:12.000000000 +0100 >-@@ -379,7 +379,7 @@ >+--- setup 1.py 2012-06-02 08:48:21.000000000 +0400 >++++ setup.py 2012-06-12 17:05:27.091982103 +0400 >+@@ -223,6 +223,7 @@ >+ description = "build translations (.mo files)" >+ >+ def run(self): >++%%NLS%% return >+ if not find_executable('msgfmt'): >+ self.warn("could not find msgfmt executable, no translations " >+ "will be built") >+@@ -385,7 +386,7 @@ > 'install_scripts': hginstallscripts} > > packages = ['mercurial', 'mercurial.hgweb',
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 168977
: 125359