Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2012 15:32:59 +0100
From:      Chris Rees <utisoft@gmail.com>
To:        Hiroki Sato <hrs@freebsd.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r303635 - in head/print: ghostscript8 ghostscript9
Message-ID:  <CADLo838Y7paEEMftwBODhv6SWpyd8mia121OPOf_1%2BYjVfnSJw@mail.gmail.com>
In-Reply-To: <201209040521.q845Lc7f099295@svn.freebsd.org>
References:  <201209040521.q845Lc7f099295@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4 Sep 2012 06:21, "Hiroki Sato" <hrs@freebsd.org> wrote:
>
> Author: hrs
> Date: Tue Sep  4 05:21:38 2012
> New Revision: 303635
> URL: http://svn.freebsd.org/changeset/ports/303635
>
> Log:
>   Fix build on !i386 && !amd64.
>
>   PR:   ports/171253  http://www.FreeBSD.org/cgi/query-pr.cgi?pr=171253
>
> Modified:
>   head/print/ghostscript8/Makefile
>   head/print/ghostscript8/Makefile.drivers
>   head/print/ghostscript9/Makefile
>   head/print/ghostscript9/Makefile.drivers
>
> Modified: head/print/ghostscript8/Makefile
>
==============================================================================
> --- head/print/ghostscript8/Makefile    Tue Sep  4 03:05:23 2012
 (r303634)
> +++ head/print/ghostscript8/Makefile    Tue Sep  4 05:21:38 2012
 (r303635)
> @@ -90,8 +90,8 @@ MLINKS=               gslp.1 gsbj.1 \
>  CIDFONTDIR=    ${DATADIR}/${PORTVERSION}/Resource
>  EXCLUDE_DIRS=  jbig2dec jpeg expat jasper libpng tiff zlib
>
> -.include "Makefile.drivers"
>  .include <bsd.port.pre.mk>
> +.include "Makefile.drivers"
>  .include "${FILESDIR}/Makefile.drivers_post"
>
>  .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//}
>
> Modified: head/print/ghostscript8/Makefile.drivers
>
==============================================================================
> --- head/print/ghostscript8/Makefile.drivers    Tue Sep  4 03:05:23 2012
       (r303634)
> +++ head/print/ghostscript8/Makefile.drivers    Tue Sep  4 05:21:38 2012
       (r303635)
> @@ -13,9 +13,11 @@ OPTIONS_X11= \
>         GS_x11rg16x \
>         GS_x11rg32x
>
> +.if ${ARCH:Mamd64} || ${ARCH:Mi386}
>  OPTIONS_SVGALIB= \
>         GS_lvga256 \
>         GS_vgalib
> +.endif
>
>  OPTIONS_ICONV= \
>         GS_oprp \
>
> Modified: head/print/ghostscript9/Makefile
>
==============================================================================
> --- head/print/ghostscript9/Makefile    Tue Sep  4 03:05:23 2012
 (r303634)
> +++ head/print/ghostscript9/Makefile    Tue Sep  4 05:21:38 2012
 (r303635)
> @@ -95,8 +95,8 @@ MLINKS=               gslp.1 gsbj.1 \
>
>  EXCLUDE_DIRS=  freetype jbig2dec jpeg expat jasper libpng tiff zlib
>
> -.include "Makefile.drivers"
>  .include <bsd.port.pre.mk>
> +.include "Makefile.drivers"

You can't introduce OPTIONS after
bsd.port.pre.mk; this has broken INDEX because the options are no longer
properly recognised.

Please revert!

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo838Y7paEEMftwBODhv6SWpyd8mia121OPOf_1%2BYjVfnSJw>