in manually trying to build an index for a tinderbox/binary/portmaster distribution, I started to look at some of the things that slow these down.

and, being a former real-time, robotics guy... I figure, take ONE line of code out, and you make things faster.

anyway, worth the cycles?
take out -.include <bsd.port.pre.mk>; -.if ${ARCH} == "sparc64"
-BROKEN=        Does not install on sparc64
-.endif
and replace it with NOT_FOR_ARCHS=    sparc64 ?
without bsd.port.PRE, you won't (try) to pull in lots of other things, optional things (options,perl, mysql, etc)

worth the cvs history cycles to do this?




cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/games/xarchon/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile    10 Aug 2011 09:01:56 -0000    1.16
+++ Makefile    19 Jan 2012 01:27:56 -0000
@@ -29,10 +29,6 @@
     @${REINPLACE_CMD} -e 's|Xarchon_Evolution::||' \
         ${WRKSRC}/src/Xarchon_Genetic.hpp

-.include <bsd.port.pre.mk>
+NOT_FOR_ARCHS=    sparc64

-.if ${ARCH} == "sparc64"
-BROKEN=        Does not install on sparc64
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
cvs diff: Diffing files

--
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
>*| *SECNAP Network Security Corporation

   * Best Mobile Solutions Product of 2011
   * Best Intrusion Prevention Product
   * Hot Company Finalist 2011
   * Best Email Security Product
   * Certified SNORT Integrator

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to