diff options
-rw-r--r-- | x11-fm/pcmanfm/Makefile | 7 | ||||
-rw-r--r-- | x11-fm/pcmanfm/files/patch-src__Makefile.am | 13 |
2 files changed, 12 insertions, 8 deletions
diff --git a/x11-fm/pcmanfm/Makefile b/x11-fm/pcmanfm/Makefile index d321e46a7713..26b3676b2c47 100644 --- a/x11-fm/pcmanfm/Makefile +++ b/x11-fm/pcmanfm/Makefile @@ -13,19 +13,20 @@ LICENSE= GPLv2 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: diff --git a/x11-fm/pcmanfm/files/patch-src__Makefile.am b/x11-fm/pcmanfm/files/patch-src__Makefile.am index 0fabe6ab93ee..3e45bf5d11d5 100644 --- a/x11-fm/pcmanfm/files/patch-src__Makefile.am +++ b/x11-fm/pcmanfm/files/patch-src__Makefile.am @@ -1,13 +1,16 @@ ---- ./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 + +uninstall-hook: + -rmdir $(DESTDIR)$(libdir)/pcmanfm ++ + # prepare modules directory + install-exec-local: + $(MKDIR_P) "$(DESTDIR)$(libdir)/pcmanfm" |