FreeBSD Bugzilla – Attachment 158573 Details for
Bug 201414
[patch] x11-fm/pcmanfm: fix NLS option, sort USES
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pcmanfm.diff
pcmanfm.diff (text/plain), 2.26 KB, created by
Horia Racoviceanu
on 2015-07-10 00:03:51 UTC
(
hide
)
Description:
pcmanfm.diff
Filename:
MIME Type:
Creator:
Horia Racoviceanu
Created:
2015-07-10 00:03:51 UTC
Size:
2.26 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 391628) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= pcmanfm > PORTVERSION= 1.2.3 >+PORTREVISION= 1 > CATEGORIES= x11-fm > MASTER_SITES= SF/${PORTNAME}/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/ > >@@ -13,28 +14,37 @@ > > LIB_DEPENDS= libfm-gtk.so:${PORTSDIR}/x11/libfm > >-USES= desktop-file-utils gmake pkgconfig gettext-tools libtool \ >- autoreconf tar:xz >+USES= autoreconf desktop-file-utils gettext gmake libtool pkgconfig \ >+ tar:xz > GNU_CONFIGURE= yes > USE_GNOME= glib20 gtk20 intltool intlhack > USE_XORG= x11 > >-CONFIGURE_ARGS=--with-gtk=2 >+CONFIGURE_ARGS= --with-gtk=2 >+CPPFLAGS+= -I${LOCALBASE}/include >+LDFLAGS+= -L${LOCALBASE}/lib > > PORTDOCS= AUTHORS NEWS > > OPTIONS_DEFINE= DOCS NLS > OPTIONS_SUB= yes >-NLS_USES= gettext-runtime > NLS_CONFIGURE_ENABLE= nls > >+.include <bsd.port.options.mk> >+ > post-patch: > @${REINPLACE_CMD} -e '/pcmanfm.conf/ d' ${WRKSRC}/data/Makefile.am > > post-configure: >-# Replace locales files in right place >+# Replace locales files in the right place >+.if ${PORT_OPTIONS:MNLS} > ${REINPLACE_CMD} -e 's|[$$][(]DATADIRNAME[)]|share|' \ > ${WRKSRC}/po/Makefile >+.else >+ ${REINPLACE_CMD} -e '/^SUBDIRS =/s| po||' ${WRKSRC}/Makefile >+ (cd ${WRKSRC}/data && ${CP} pcmanfm.desktop.in pcmanfm.desktop; \ >+ ${CP} pcmanfm-desktop-pref.desktop.in pcmanfm-desktop-pref.desktop) >+.endif > > post-install: > @${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/pcmanfm/default/ >Index: files/patch-src__Makefile.am >=================================================================== >--- files/patch-src__Makefile.am (revision 391628) >+++ files/patch-src__Makefile.am (working copy) >@@ -1,10 +1,9 @@ >---- ./src/Makefile.am.orig 2014-01-06 23:55:25.000000000 +0000 >-+++ ./src/Makefile.am 2014-02-23 09:58:26.669238176 +0000 >-@@ -49,3 +49,10 @@ >- $(XLIB_LIBS) \ >+--- src/Makefile.am.orig 2014-05-16 16:51:21 UTC >++++ src/Makefile.am >+@@ -50,6 +50,13 @@ pcmanfm_LDADD = \ > $(FM_LIBS) \ > $(NULL) >-+ >+ > +# create plugins' directory anyway > +install-exec-hook: > + $(MKDIR_P) $(DESTDIR)$(libdir)/pcmanfm >@@ -11,3 +10,7 @@ > + > +uninstall-hook: > + -rmdir $(DESTDIR)$(libdir)/pcmanfm >++ >+ # prepare modules directory >+ install-exec-local: >+ $(MKDIR_P) "$(DESTDIR)$(libdir)/pcmanfm"
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
Flags:
horia
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 201414
:
158516
|
158517
|
158518
|
158540
|
158541
|
158543
|
158563
| 158573