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
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to