Subject: CVS commit: pkgsrc/multimedia/libdv
From: Jeremy C. Reed
Date: 2006-03-11 05:08:47
Message id: 20060311040847.A834D2DA27@cvs.netbsd.org

Log Message:
This is to fix PR 30267. (I have noticed same problem.)

The build needs optimization. So if CFLAGS doesn't contain at least
-O then add it. (Thank you Juan for idea.)

On the tech-pkg-ja@jp.NetBSD.org list, I was told (19 Dec 2005):

> This change can be accepted when judged only from my environment (i386),
> since the expression of "if empty(CFLAGS:M-O*)" is evaluated
> after setting of the environment variable (-O2).
> However, I do not have the positive proof whether this expression is evaluated
> after setting of the environment variable (-O2), in all environments.

So hopefully this doesn't break for anyone else.

Files:
RevisionActionfile
1.5modifypkgsrc/multimedia/libdv/Makefile.common