Date: Sat, 13 May 2006 19:59:24 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Oliver Iberien <oliver-mailinglist@charter.net> Cc: freebsd-questions@freebsd.org Subject: Re: Given this chunk of makefile, how do I set this to build the plugin? Message-ID: <20060513165924.GA59148@gothmog.pc> In-Reply-To: <200605130942.51351.oliver-mailinglist@charter.net> References: <200605130942.51351.oliver-mailinglist@charter.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-05-13 09:42, Oliver Iberien <oliver-mailinglist@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060513165924.GA59148>
