diff options
Diffstat (limited to 'x11-fm/gnomemc/Makefile')
-rw-r--r-- | x11-fm/gnomemc/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/x11-fm/gnomemc/Makefile b/x11-fm/gnomemc/Makefile index b572295..32a1cb2 100644 --- a/x11-fm/gnomemc/Makefile +++ b/x11-fm/gnomemc/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gnomemc -PORTVERSION= 4.5.54 +PORTVERSION= 4.5.55 CATEGORIES= x11-fm gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/mc @@ -19,11 +19,13 @@ USE_GMAKE= yes USE_GNOME= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-edit -with-ncurses -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" +CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \ + LDFLAGS=-L${LOCALBASE}/lib +CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} post-patch: - @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ - 's|\$\(libdir\)/mc|\$\(datadir\)/mc|g' + @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \ + 's|\$\(libdir\)/mc|\$\(datadir\)/mc|g ; \ + s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' .include <bsd.port.mk> |