[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-O optimization for pkgsrc/multimedia/libdv



May I commit the following?

I don't know if this should be in Makefile or Makefile.common (used by 
libdv-tools).

I had emailed you all about it last February. I was given this idea later 
on:
  http://mail-index.netbsd.org/tech-pkg/2005/02/10/0030.html

This is to fix PR 30267
  http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=30267

Index: multimedia/libdv/Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/libdv/Makefile.common,v
retrieving revision 1.3
diff -b -u -r1.3 Makefile.common
--- multimedia/libdv/Makefile.common	10 Aug 2005 20:56:20 -0000	1.3
+++ multimedia/libdv/Makefile.common	18 Dec 2005 02:43:37 -0000
@@ -30,6 +30,9 @@
  .endif

  LIBS+=		${LIBOSSAUDIO}
+.if empty(CFLAGS:M-O*)
+CFLAGS+=	-O
+.endif

  .include "../../converters/libiconv/buildlink3.mk"
  .include "../../devel/gettext-lib/buildlink3.mk"


  Jeremy C. Reed

  	  	 	 Media Relations and Publishing Services
 	  	 	 http://www.reedmedia.net/