Simplify relative path in libGLU/Makefile

b. f. bf1783 at googlemail.com
Mon Jul 11 15:30:33 UTC 2011


>
> how about this patch?  I did not see a response and would like to
> commit if there are no objections.

I don't see a problem with it, but if you are going to make the
change, please make the corresponding changes in all of the other mesa
ports.  The two-step appears in:


libGL/bsd.mesalib.mk:56:PATCHDIR=
${.CURDIR}/../../graphics/libGL/files
libGLU/Makefile:22:.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
libGLw/Makefile:24:.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
libglut/Makefile:26:.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"


>
> Gerald @FreeBSD.org
>
> Index: Makefile
> ===================================================================
> RCS file: /home/pcvs/ports/graphics/libGLU/Makefile,v
> retrieving revision 1.14
> diff -u -r1.14 Makefile
> --- Makefile    25 Feb 2011 16:52:06 -0000      1.14
> +++ Makefile    11 Jul 2011 08:35:13 -0000
> @@ -19,5 +19,5 @@
>         ${INSTALL_DATA} ${WRKSRC}/include/GL/glu*.h ${PREFIX}/include/GL/
>         cd ${WRKSRC}/src/glu; ${GMAKE} install
>
> -.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
> +.include "${.CURDIR}/../libGL/bsd.mesalib.mk"
>  .include <bsd.port.mk>


More information about the freebsd-x11 mailing list