diff options
author | rakuco <rakuco@FreeBSD.org> | 2013-07-10 05:49:00 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2013-07-10 05:49:00 +0800 |
commit | 172d17717dff405bc47298ed9348544313605370 (patch) | |
tree | 21ade7adf550e362a177b17677167207e23451a5 /chinese | |
parent | b325597209e04af2c56ad3774dd73acdc9cc2ff5 (diff) | |
download | freebsd-ports-gnome-172d17717dff405bc47298ed9348544313605370.tar.gz freebsd-ports-gnome-172d17717dff405bc47298ed9348544313605370.tar.zst freebsd-ports-gnome-172d17717dff405bc47298ed9348544313605370.zip |
KDE4 l10n fixes.
- Remove an entry from all plists that slipped under radar and made
packaging fail.
- Properly save the OPTIONS defined by the user in the l10n ports. [1]
Quoting bapt, master of all things ports:
That is because misc/kde4-l10n/files/bsd.l10n.mk is totally wrong it does
...
.include <bsd.port.pre.mk>
...
.include <bsd.port.options.mk>
...
.include <bsd.port.post.mk>
First the right order in that case should be:
...
.include <bsd.port.options.mk>
...
.include <bsd.port.pre.mk>
...
.include <bsd.port.post.mk>
Second in that case (kde) the pre.mk/post.mk can be removed just keeping
the options.mk and given that we now have the helpers options.mk can also
be removed.
The check for variables in OPTIONS_DEFINE is also useless (already done
by the framework) defining OPTIONS_DEFINE and OPTIONS_DEFAULT to some
empty values is also useless.
No PORTREVISION bump because the generated packages do not change regardless
of the changes/fixes in behavior here.
Reported by: avg [1]
Submitted by: bapt [1]
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/kde4-l10n-zh_CN/Makefile | 3 | ||||
-rw-r--r-- | chinese/kde4-l10n-zh_CN/pkg-plist | 1 | ||||
-rw-r--r-- | chinese/kde4-l10n-zh_TW/Makefile | 3 | ||||
-rw-r--r-- | chinese/kde4-l10n-zh_TW/pkg-plist | 1 |
4 files changed, 2 insertions, 6 deletions
diff --git a/chinese/kde4-l10n-zh_CN/Makefile b/chinese/kde4-l10n-zh_CN/Makefile index 284cb8566671..13530d1b0032 100644 --- a/chinese/kde4-l10n-zh_CN/Makefile +++ b/chinese/kde4-l10n-zh_CN/Makefile @@ -10,5 +10,4 @@ COMMENT= Simplified Chinese messages and documentation for KDE SC 4 KDE4_L10N= zh_CN -.include "${.CURDIR}/../../misc/kde4-l10n/files/bsd.l10n.mk" -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/chinese/kde4-l10n-zh_CN/pkg-plist b/chinese/kde4-l10n-zh_CN/pkg-plist index ec31f58ed7aa..dbb4985fe43e 100644 --- a/chinese/kde4-l10n-zh_CN/pkg-plist +++ b/chinese/kde4-l10n-zh_CN/pkg-plist @@ -292,7 +292,6 @@ share/locale/zh_CN/LC_MESSAGES/kfile_mail.mo share/locale/zh_CN/LC_MESSAGES/kfile_pnm.mo share/locale/zh_CN/LC_MESSAGES/kfile_raw.mo share/locale/zh_CN/LC_MESSAGES/kfile_rgb.mo -share/locale/zh_CN/LC_MESSAGES/kfile_rpm.mo share/locale/zh_CN/LC_MESSAGES/kfile_tiff.mo share/locale/zh_CN/LC_MESSAGES/kfile_xps.mo share/locale/zh_CN/LC_MESSAGES/kfileaudiopreview4.mo diff --git a/chinese/kde4-l10n-zh_TW/Makefile b/chinese/kde4-l10n-zh_TW/Makefile index 9286d64cab3b..70ceef14446f 100644 --- a/chinese/kde4-l10n-zh_TW/Makefile +++ b/chinese/kde4-l10n-zh_TW/Makefile @@ -10,5 +10,4 @@ COMMENT= Traditional Chinese messages and documentation for KDE SC 4 KDE4_L10N= zh_TW -.include "${.CURDIR}/../../misc/kde4-l10n/files/bsd.l10n.mk" -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/chinese/kde4-l10n-zh_TW/pkg-plist b/chinese/kde4-l10n-zh_TW/pkg-plist index a22919e10470..ceb0909cef78 100644 --- a/chinese/kde4-l10n-zh_TW/pkg-plist +++ b/chinese/kde4-l10n-zh_TW/pkg-plist @@ -257,7 +257,6 @@ share/locale/zh_TW/LC_MESSAGES/kfile_mail.mo share/locale/zh_TW/LC_MESSAGES/kfile_pnm.mo share/locale/zh_TW/LC_MESSAGES/kfile_raw.mo share/locale/zh_TW/LC_MESSAGES/kfile_rgb.mo -share/locale/zh_TW/LC_MESSAGES/kfile_rpm.mo share/locale/zh_TW/LC_MESSAGES/kfile_tiff.mo share/locale/zh_TW/LC_MESSAGES/kfile_xps.mo share/locale/zh_TW/LC_MESSAGES/kfileaudiopreview4.mo |