summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2004-09-20 19:27:18 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2004-09-20 19:27:18 +0000
commit550077c59e0933ce327ad143536052ec30958bc2 (patch)
tree1cacb616f9ac045e8db9a26d7c25dfc4a21741c6 /sysutils
parent- Unbreak port (fixed distfile URL) (diff)
Unbreak on 5.X and -CURRENT.
Reported by: kris Approved by: portmgr (marcus), fjoe (mentor, implicit)
Notes
Notes: svn path=/head/; revision=118302
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>