Quote:
Originally Posted by Carpetsmoker
At the commandline you can just use:
# make CONFIGURE_ARGS=--disable-swscale
And you can of course put this in /etc/make.conf:
Code:
.if ${.CURDIR:M*/multimedia/ffmpeg}
CONFIGURE_ARGS=--disable-swscale
.endif
|
Either of these options would end up overriding all other CONFIGURE_ARGS set in the Makefile. You would need to redefine all of them on the commandline or in make.conf which isn't practical.
Quote:
Originally Posted by Carpetsmoker
Or in /usr/ports/multimedia/ffmpeg/Makefile.local:
Code:
CONFIGURE_ARGS+=--disable-swscale
|
This would work, but you would still need to add:
Code:
.include "Makefile.local"
to the end of the Makefile.
In short, it is probably just easier to edit the Makefile since that line will be obliterated the next time you update your ports tree.