--- x11-fm/pcmanfm/Makefile (revision 391538) +++ x11-fm/pcmanfm/Makefile (working copy) @@ -13,19 +13,20 @@ 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 +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 post-patch: --- x11-fm/pcmanfm/files/patch-src__Makefile.am (revision 391538) +++ x11-fm/pcmanfm/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"