aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-05-06 17:06:18 +0800
committerjgh <jgh@FreeBSD.org>2013-05-06 17:06:18 +0800
commit4aa04ed781b41a0b398434d38188734fb17cce4d (patch)
treed6cb71c133829ea5712dab4f85c4687bd6795512 /misc
parentc89ade87bd8a57046ca1af8c9986126e12159281 (diff)
downloadfreebsd-ports-gnome-4aa04ed781b41a0b398434d38188734fb17cce4d.tar.gz
freebsd-ports-gnome-4aa04ed781b41a0b398434d38188734fb17cce4d.tar.zst
freebsd-ports-gnome-4aa04ed781b41a0b398434d38188734fb17cce4d.zip
- convert to USES for gettext
- mark broken (doesn't fetch) Approved by: portmgr (bapt@)
Diffstat (limited to 'misc')
-rw-r--r--misc/mc/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile
index 86da5ecc92f2..62515a38233f 100644
--- a/misc/mc/Makefile
+++ b/misc/mc/Makefile
@@ -18,6 +18,8 @@ LICENSE= GPLv3
CONFLICTS= mc-light-4*
+BROKEN= does not fetch
+
USES= pkgconfig
USE_GMAKE= yes
USE_GNOME= glib20
@@ -39,7 +41,7 @@ post-patch:
${REINPLACE_CMD} -e 's/SUBDIRS = intl/SUBDIRS =/' ${WRKSRC}/Makefile.in
${REINPLACE_CMD} -e 's/saved_CPPFLAGS="-ltermcap/saved_CPPFLAGS="/' ${WRKSRC}/configure
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if defined(WITH_SAMBA) || !(defined(WITHOUT_SAMBA) || defined(MINIMAL))
CONFIGURE_ARGS+=--enable-vfs-smb --with-configdir=${LOCALBASE}/etc\
@@ -60,7 +62,7 @@ PLIST_SUB+= NLS="@comment "
.else
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-USE_GETTEXT= yes
+USES+= gettext
PLIST_SUB+= NLS=""
_MANLANG= es hu it pl ru sr
.endif
@@ -95,4 +97,4 @@ _MAN1= mc.1
_MANPAGES+= ${_MAN1:S%^%${MAN1PREFIX}/man/${lang}/man1/%}
.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>