diff options
author | kwm <kwm@FreeBSD.org> | 2013-06-17 16:16:03 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2013-06-17 16:16:03 +0800 |
commit | de4ceb5c7e05a156ab94a589120efc6cef2aaa48 (patch) | |
tree | e0cb540a34e4131fe5bdc8795ef1aa4698be53de /x11-fm | |
parent | 587ff4037550380f94e71d0b025430e4187a7255 (diff) | |
download | freebsd-ports-gnome-de4ceb5c7e05a156ab94a589120efc6cef2aaa48.tar.gz freebsd-ports-gnome-de4ceb5c7e05a156ab94a589120efc6cef2aaa48.tar.zst freebsd-ports-gnome-de4ceb5c7e05a156ab94a589120efc6cef2aaa48.zip |
Fix build with glib 2.36.
Convert to USES=desktop-file-utils and shared-mime-info.
Diffstat (limited to 'x11-fm')
-rw-r--r-- | x11-fm/nautilus/Makefile | 8 | ||||
-rw-r--r-- | x11-fm/nautilus/pkg-plist | 4 |
2 files changed, 5 insertions, 7 deletions
diff --git a/x11-fm/nautilus/Makefile b/x11-fm/nautilus/Makefile index ca148e9c3b9e..5a5ae24c8e1b 100644 --- a/x11-fm/nautilus/Makefile +++ b/x11-fm/nautilus/Makefile @@ -4,7 +4,7 @@ PORTNAME= nautilus PORTVERSION= 2.32.2.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-fm gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 @@ -23,8 +23,9 @@ INSTALLS_ICONS= yes USE_BZIP2= yes USE_GMAKE= yes USES= gettext +USES= desktop-file-utils shared-mime-info USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop \ - librsvg2 desktopfileutils ltverhack gvfs ltasneededhack + librsvg2 ltverhack gvfs ltasneededhack USE_LDCONFIG= yes USE_AUTOTOOLS= libtool CONFIGURE_ENV= LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -liconv" \ @@ -43,9 +44,10 @@ post-patch: ${WRKSRC}/eel/eel-*.[ch] \ ${WRKSRC}/libnautilus-private/*.[ch] \ ${WRKSRC}/src/nautilus-zoom-control.c + @${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \ + ${WRKSRC}/configure ${WRKSRC}/eel/Makefile.in post-install: @${MKDIR} ${PREFIX}/lib/nautilus/extensions-2.0 - @-update-desktop-database .include <bsd.port.mk> diff --git a/x11-fm/nautilus/pkg-plist b/x11-fm/nautilus/pkg-plist index b6e4f3b327db..266e5ff302de 100644 --- a/x11-fm/nautilus/pkg-plist +++ b/x11-fm/nautilus/pkg-plist @@ -238,10 +238,6 @@ share/pixmaps/nautilus/thumbnail_frame.png @dirrmtry lib/nautilus @dirrm include/nautilus/libnautilus-extension @dirrm include/nautilus -@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime -@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime -@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true @dirrm share/doc/libnautilus-extension @dirrmtry share/locale/zu/LC_MESSAGES @dirrmtry share/locale/zu |