aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-09-21 03:27:18 +0800
committerdanfe <danfe@FreeBSD.org>2004-09-21 03:27:18 +0800
commiteb21f27cd6169111c5b520b6944a779088d1ceb8 (patch)
tree3a7c0f9f42a2fd833e34579e9435ccf677e5d3fd /sysutils
parente4a19f4a1ed6c862dcd573c5304d228c7c22813c (diff)
downloadfreebsd-ports-gnome-eb21f27cd6169111c5b520b6944a779088d1ceb8.tar.gz
freebsd-ports-gnome-eb21f27cd6169111c5b520b6944a779088d1ceb8.tar.zst
freebsd-ports-gnome-eb21f27cd6169111c5b520b6944a779088d1ceb8.zip
Unbreak on 5.X and -CURRENT.
Reported by: kris Approved by: portmgr (marcus), fjoe (mentor, implicit)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/44bsd-more/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/sysutils/44bsd-more/Makefile b/sysutils/44bsd-more/Makefile
index b57d92aff558..d73499cb232c 100644
--- a/sysutils/44bsd-more/Makefile
+++ b/sysutils/44bsd-more/Makefile
@@ -22,12 +22,6 @@ MAN1= 44bsd-more.1
RELDATE= 20000521
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
post-extract:
-cd ${WRKSRC} && co RCS/*,v
@@ -36,6 +30,8 @@ post-patch:
's!/usr/share/misc/more.help!${PREFIX}/share/misc/44bsd-more.help!'\
${WRKSRC}/pathnames.h
${CP} ${FILESDIR}/queue.h ${WRKSRC}
+ ${REINPLACE_CMD} -e 's/static char \*getvar/static const char \*getvar/' \
+ ${WRKSRC}/ncommand.c
do-install:
${MKDIR} ${EXAMPLESDIR}
@@ -50,4 +46,4 @@ tarup:
cd ${WRKSRC} && tar cyf /tmp/${DISTFILES} RCS
scp /tmp/${DISTFILES} freefall:public_html/dists
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>