[113512] trunk/dports/graphics/libQGLViewer/Portfile
Ryan Schmidt
ryandesign at macports.org
Mon Nov 18 11:26:01 PST 2013
On Nov 18, 2013, at 11:58, raphael at macports.org wrote:
> Revision
> 113512
> Author
> raphael at macports.org
> Date
> 2013-11-18 09:58:39 -0800 (Mon, 18 Nov 2013)
> Log Message
>
> libQGLViewer: prevent the examples from linking with an already installed version of libQGLViewer; fixes #41382
> Modified Paths
>
> • trunk/dports/graphics/libQGLViewer/Portfile
>
> +# prevent the examples from linking with an already installed version of libQGLViewer (#41382)
> +configure.cppflags-delete -I/opt/local/include
> +configure.ldflags-delete -L/opt/local/lib
You need to use “${prefix}” instead of hardcoding “/opt/local”. Not everyone’s MacPorts prefix is /opt/local.
More information about the macports-dev
mailing list