From owner-freebsd-ports@FreeBSD.ORG Mon Mar 26 23:20:00 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 448C316A407 for ; Mon, 26 Mar 2007 23:20:00 +0000 (UTC) (envelope-from bf2006a@yahoo.com) Received: from web39114.mail.mud.yahoo.com (web39114.mail.mud.yahoo.com [209.191.87.233]) by mx1.freebsd.org (Postfix) with SMTP id 17ADE13C45A for ; Mon, 26 Mar 2007 23:19:59 +0000 (UTC) (envelope-from bf2006a@yahoo.com) Received: (qmail 36236 invoked by uid 60001); 26 Mar 2007 23:19:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=T//mJacfOOewiCr/7sMXRczx2FV+NmGG+Ib+uD1Dl1MktqqBKOsLnQuacT5WtPhxu0YazZIk4mMWa5i4+O39wJK1YJTwCz52veZfBX592jG8jbfY595SGJJWw513IEdgzbjKwwtFr3wP/8Ju/g1K6efN2PfQnX/4a7GCzdSCF2M=; X-YMail-OSG: ymvnfrQVM1mMWJKP8axOqVULg7bTPLKth5pIMvT3F_gAxh4q54G3eGbSFo33xeLN9ZrucOxkln1xGfurQa27z4CgeOp04ByVBdiEzAIAlc0BOhi5LEkg7shK1Fkpv46iO7jB4awLloBW Received: from [88.198.7.68] by web39114.mail.mud.yahoo.com via HTTP; Mon, 26 Mar 2007 16:19:59 PDT Date: Mon, 26 Mar 2007 16:19:59 -0700 (PDT) From: bf To: nivit@FreeBSD.org, ports@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <335670.34971.qm@web39114.mail.mud.yahoo.com> Cc: Subject: [PATCH] math/asymptote-1.23 build broken on 6.2-Stable i386; also unsolved problems with AFPL Ghostscript integration X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2007 23:20:00 -0000 Building WITH_GSL=yes on my machine, the first hunk of the math/asymptote/files/patch-Makefile.in fails, probably because of the 1.23 source Makefile.in's line 9, KEYWORDS = base $(ASYMPTOTE_SITEDIR) which separates the EXTRA and LATEXFILES lines. However, the build succeeds if the following modified patchfile is used in place of the existing one: --- Makefile.in Wed Dec 13 03:06:26 2006 +++ Makefile.in.port Wed Dec 13 13:42:00 2006 @@ -22,9 +22,9 @@ CLEAN = camp.output asy.list NAME = asy EXTRABIN = x$(NAME) -EXTRA = asy-mode.el asy-keywords.el asy-init.el asy.vim asymptote.py +EXTRA = base/asy-mode.el base/asy-keywords.el base/asy-init.el base/asy.vim base/asymptote.py KEYWORDS = base $(ASYMPTOTE_SITEDIR) -LATEXFILES = asymptote.sty asycolors.sty pdfanim_temp.sty +LATEXFILES = doc/asymptote.sty doc/asycolors.sty doc/pdfanim_temp.sty DEFS = @DEFS@ @OPTIONS@ CFLAGS = @CPPFLAGS@ @CFLAGS@ @@ -44,7 +44,7 @@ datadir = $(DESTDIR)@datadir@ asydir = $(datadir)/asymptote docdir = $(DESTDIR)@docdir@ -exampledir = $(docdir)/examples +exampledir = $(datadir)/examples/asymptote animationsdir = $(exampledir)/animations latexdir = $(DESTDIR)@latexdir@ INSTALL = @INSTALL@ @@ -69,7 +69,7 @@ rm -f $(GC).tar cd $(GC); \ ./configure $(GCOPTIONS); \ - $(MAKE) check + $(MAKE) html: asy cd doc; $(MAKE) doc @@ -111,11 +111,11 @@ ${INSTALL} -d $(bindir) $(asydir) $(exampledir) $(animationsdir) -${INSTALL} -d $(latexdir) ${INSTALL} -p -m 755 $(NAME) $(EXTRABIN) $(bindir) - ${INSTALL} -p -m 644 base/*.asy $(addprefix base/,$(EXTRA)) $(asydir) + ${INSTALL} -p -m 644 base/*.asy $(EXTRA) $(asydir) ${INSTALL} -p -m 644 examples/*.asy examples/piicon.eps \ doc/*.asy doc/*.csv doc/*.dat doc/latexusage.tex $(exampledir) ${INSTALL} -p -m 644 examples/animations/*.asy $(animationsdir) - -${INSTALL} -p -m 644 $(addprefix doc/,$(LATEXFILES)) $(latexdir) + -${INSTALL} -p -m 644 $(LATEXFILES) $(latexdir) -if test -z "$(DESTDIR)"; then \ texhash; \ fi Also, when generating the asymptote documentation/examples, there are a great number of errors of the form: ../asy -dir ../base -f png grid3xyz.asy AFPL Ghostscript 8.54: Error: Font Renderer Plugin ( FreeType ) return code = -1 AFPL Ghostscript 8.54: Error: Font Renderer Plugin ( FreeType ) return code = -1 AFPL Ghostscript 8.54: Error: Font Renderer Plugin ( FreeType ) return code = -1 AFPL Ghostscript 8.54: Error: Font Renderer Plugin ( FreeType ) return code = -1 AFPL Ghostscript 8.54: Error: Font Renderer Plugin ( FreeType ) return code = -1 AFPL Ghostscript 8.54: Error: Font Renderer Plugin ( FreeType ) return code = -1 AFPL Ghostscript 8.54: Error: Font Renderer Plugin ( FreeType ) return code = -1 AFPL Ghostscript 8.54: Error: Font Renderer Plugin ( FreeType ) return code = -1 ../asy -dir ../base -f png hatch.asy ../asy -dir ../base -f png helix.asy AFPL Ghostscript 8.54: Error: Font Renderer Plugin ( FreeType ) return code = -1 AFPL Ghostscript 8.54: Error: Font Renderer Plugin ( FreeType ) return code = -1 AFPL Ghostscript 8.54: Error: Font Renderer Plugin ( FreeType ) return code = -1 AFPL Ghostscript 8.54: Error: Font Renderer Plugin ( FreeType ) return code = -1 AFPL Ghostscript 8.54: Error: Font Renderer Plugin ( FreeType ) return code = -1 AFPL Ghostscript 8.54: Error: Font Renderer Plugin ( FreeType ) return code = -1 ../asy -dir ../base -f png histogram.asy I've installed print/ghostscript-afpl-8.54_1,1 WITH_SVGALIB=yes WITH_SHLIB=yes WITH_FT_BRIDGE=yes, and I suspect the errors may be due to recent changes in either the recently-patched WITH_FT_BRIDGE knob, or recent changes in asymptote, because I have not noticed any such problems in the past. bf. ____________________________________________________________________________________ No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail