minor improvement to devel/liboil

Mikhail T. mi at aldan.algebra.com
Wed Aug 15 06:11:23 PDT 2007


Hello!

The attached patch:

	a) makes CFLAGS neater (no repetative -O*);
	b) scales the build to the number of processors --
	   tested on my quad Opteron system.

Please, commit or allow me to. Thanks! Yours,

	-mi

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/liboil/Makefile,v
retrieving revision 1.26
diff -U2 -r1.26 Makefile
--- Makefile	5 Jun 2007 16:15:33 -0000	1.26
+++ Makefile	15 Aug 2007 12:52:51 -0000
@@ -21,5 +21,6 @@
 CONFIGURE_ARGS=	--disable-gtk-doc \
 		--disable-glib
-CFLAGS+=	-O2
+CFLAGS:=	${CFLAGS:N-O*} -O2
+MAKE_ARGS+=	-j`${SYSCTL} -n hw.ncpu`
 
 .include <bsd.port.pre.mk>


More information about the freebsd-multimedia mailing list