aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ndir/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ndir/Makefile')
-rw-r--r--sysutils/ndir/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/ndir/Makefile b/sysutils/ndir/Makefile
index b9ea70ccab99..f6f9fa74c102 100644
--- a/sysutils/ndir/Makefile
+++ b/sysutils/ndir/Makefile
@@ -15,12 +15,6 @@ EXTRACT_SUFX= -1.tar.gz
MAINTAINER= markp@FreeBSD.org
COMMENT= A featureful directory lister
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
-
USE_GMAKE= yes
USE_REINPLACE= yes
ALL_TARGET= compile
@@ -28,6 +22,12 @@ CFLAGS+= -DNO_THOUSANDS_GROUPING
MAN1= ndir.1
MLINKS= ndir.1 lv.1 ndir.1 lw.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500113
+BROKEN= "Does not compile (bad C++ code)"
+.endif
+
post-patch:
${REINPLACE_CMD} -E "s/^export GLOBAL.+//g" ${WRKSRC}/Makefile