Given this chunk of makefile, how do I set this to build the plugin?

Giorgos Keramidas keramida at ceid.upatras.gr
Sat May 13 09:57:37 PDT 2006


On 2006-05-13 09:42, Oliver Iberien <oliver-mailinglist at charter.net> wrote:
> This is from the latest port of gnash. I can't coax it into building
> the plugin. What is the option I pass to make to get it to build?
>
>  +OPTIONS=      PLUGIN  "Enable firefox plugin" off
>  +
>  +.include <bsd.port.pre.mk>
>  +
>  +.if !defined(WITH_PLUGIN)
>  +CONFIGURE_ARGS+=      --disable-plugin
>  +PLIST_SUB+=   PLUGIN="@comment "
>  +.else
>  +USE_GNOME+=   atk pango gtk20
>  +LIB_DEPENDS+= gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext
>  +PLIST_SUB+=   PLUGIN=""
>  +.endif

The Makefile supports the 'OPTIONS' configuration stuff.  So, to make
sure it's reconfigured, start with:

	# cd /usr/ports/graphics/gnash
	# make rmconfig

Then rebuild the port, and you should see a menu of options.


More information about the freebsd-questions mailing list