fix for broken net-mgmt/scotty3
Poul-Henning Kamp
phk at phk.freebsd.dk
Sun Nov 11 08:02:20 PST 2007
It seems that our whole-sale replacement of unix/scotty.c is the
reason this port is broken.
Applying the patch below it works for me on 8-CURRENT
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/scotty3/Makefile,v
retrieving revision 1.57
diff -u -r1.57 Makefile
--- Makefile 3 Jul 2007 09:32:56 -0000 1.57
+++ Makefile 11 Nov 2007 15:26:43 -0000
@@ -59,12 +59,12 @@
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
-BROKEN= Does not compile with GCC 4.2
+# BROKEN= Does not compile with GCC 4.2
.endif
post-patch:
- ${MV} ${WRKSRC}/scotty.c ${WRKSRC}/scotty.c.orig
- ${CP} -p ${FILESDIR}/scotty.c ${WRKSRC}/scotty.c
+ # ${MV} ${WRKSRC}/scotty.c ${WRKSRC}/scotty.c.orig
+ # ${CP} -p ${FILESDIR}/scotty.c ${WRKSRC}/scotty.c
post-install:
${RM} -f ${PREFIX}/bin/scotty ${PREFIX}/bin/tkined
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-ports
mailing list