View Single Post
  #4   (View Single Post)  
Old 16th August 2008
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Default

Quote:
Originally Posted by Carpetsmoker View Post
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 View Post
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.
Reply With Quote