Bug 171253 - print/ghostscript9 default options only work on i386 and amd64
print/ghostscript9 default options only work on i386 and amd64
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: doceng
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-02 15:00 UTC by jwbacon
Modified: 2012-09-04 06:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jwbacon 2012-09-02 15:00:23 UTC
===>   ghostscript9-9.05_5 depends on executable: gmake - found
===>   ghostscript9-9.05_5 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found
===>   ghostscript9-9.05_5 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   ghostscript9-9.05_5 depends on file: /usr/local/bin/autoconf-2.69 - found
===>   ghostscript9-9.05_5 depends on shared library: expat - found
===>   ghostscript9-9.05_5 depends on shared library: idn - found
===>   ghostscript9-9.05_5 depends on shared library: jbig2dec - found
===>   ghostscript9-9.05_5 depends on shared library: jpeg - found
===>   ghostscript9-9.05_5 depends on shared library: png15 - found
===>   ghostscript9-9.05_5 depends on shared library: tiff - found
===>   ghostscript9-9.05_5 depends on shared library: cupsimage.2 - found
===>   ghostscript9-9.05_5 depends on shared library: vga.1 - not found
===>    Verifying install for vga.1 in /usr/ports/graphics/svgalib
===>  svgalib-1.4.3_6 is only for i386 amd64, while you are running powerpc.
*** [install] Error code 1

Stop in /usr/ports/graphics/svgalib.
*** [lib-depends] Error code 1

Stop in /usr/ports/print/ghostscript9.
*** [build] Error code 1

Stop in /usr/ports/print/ghostscript9.

Fix: 

Workaround:

make config
disable SVGAlib options

Fix:

SVGAlib options should only be ON by default on i386 and amd64.
How-To-Repeat: Attempt to build ghostscript9 with default options on something other than i386 or amd64.
Comment 1 Edwin Groothuis freebsd_committer 2012-09-02 15:00:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->doceng

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Hiroki Sato freebsd_committer 2012-09-04 06:15:57 UTC
State Changed
From-To: open->closed

Fixed.  Thanks for the report.
Comment 3 dfilter freebsd_committer 2012-09-04 06:21:53 UTC
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

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"
 .include "${FILESDIR}/Makefile.drivers_post"
 
 .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//}

Modified: head/print/ghostscript9/Makefile.drivers
==============================================================================
--- head/print/ghostscript9/Makefile.drivers	Tue Sep  4 03:05:23 2012	(r303634)
+++ head/print/ghostscript9/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 \
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"