summaryrefslogtreecommitdiff
path: root/sysutils/ndir
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-06-04 22:43:38 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-06-04 22:43:38 +0000
commit93872f18cc0a948ab9c010bbe5694579bd59f8c4 (patch)
tree918c0e1660ed837a4087b57670a1b1c181c285e0 /sysutils/ndir
parentRemove some local changes that crept in with the previous commit. (diff)
Move inclusion of bsd.port.pre.mk later in the file for conditional BROKEN
tag. Early inclusion caused problems for some ports, so to be safe I'm updating all of them. Pointy hat to: kris
Notes
Notes: svn path=/head/; revision=82300
Diffstat (limited to 'sysutils/ndir')
-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