NetBSD Problem Report #42644

From www@NetBSD.org  Tue Jan 19 22:33:47 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id BE50D63C545
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 19 Jan 2010 22:33:47 +0000 (UTC)
Message-Id: <20100119223346.C472563C2BC@www.NetBSD.org>
Date: Tue, 19 Jan 2010 22:33:46 +0000 (UTC)
From: edwberger@gmail.com
Reply-To: edwberger@gmail.com
To: gnats-bugs@NetBSD.org
Subject: ghostscript Makefile diff for DragonFly x86_64
X-Send-Pr-Version: www-1.0

>Number:         42644
>Category:       pkg
>Synopsis:       ghostscript Makefile diff for DragonFly x86_64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 19 22:35:00 +0000 2010
>Closed-Date:    Wed Jan 20 08:52:36 +0000 2010
>Last-Modified:  Thu Jan 28 10:20:02 +0000 2010
>Originator:     Ed Berger
>Release:        n/a
>Organization:
I don't have one
>Environment:
DragonFly 2.5.1-Development x86_64
>Description:
Building pkgsrc/print/ghostscript under DragonFly-x86_64 gives error message to try compiling with -fPIC option.  I reported this earlier on pkgsrc-users, but I guess that wasn't the right place...

Please add to pkgsrc print/ghostscript/Makefile CFLAGS.DragonFly= -fPIC option that will allow ghostscript build under dragonfly-x86_64, similar to the other 64bit platforms...
Here's my diff

64d63
<CFLAGS.DragonFly= -fPIC
>How-To-Repeat:
bmake install in the pkgsrc/print/ghostscript directory on an amd64 or x86_64 DragonFly system.
>Fix:
Apply diff to Makefile in pkgsrc/print/ghostscript

64d63
<CFLAGS.DragonFly= -fPIC

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: tnn@NetBSD.org
State-Changed-When: Wed, 20 Jan 2010 08:52:36 +0000
State-Changed-Why:
Fixed in ghostscript/Makefile,v 1.74.
Thanks for the report.


From: Tobias Nygren <tnn@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42644 CVS commit: pkgsrc/print/ghostscript
Date: Wed, 20 Jan 2010 08:50:16 +0000

 Module Name:	pkgsrc
 Committed By:	tnn
 Date:		Wed Jan 20 08:50:16 UTC 2010

 Modified Files:
 	pkgsrc/print/ghostscript: Makefile

 Log Message:
 Remove list of platforms needing -fPIC. Enable it always when using GCC.
 Fixes DragonFly PR pkg/42644.


 To generate a diff of this commit:
 cvs rdiff -u -r1.73 -r1.74 pkgsrc/print/ghostscript/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42644 CVS commit: [pkgsrc-2009Q4] pkgsrc/print/ghostscript
Date: Thu, 28 Jan 2010 10:16:15 +0000

 Module Name:	pkgsrc
 Committed By:	tron
 Date:		Thu Jan 28 10:16:14 UTC 2010

 Modified Files:
 	pkgsrc/print/ghostscript [pkgsrc-2009Q4]: Makefile

 Log Message:
 Pullup ticket #2977 - requested by tnn
 ghostscript: build fix

 Revisions pulled up:
 - print/ghostscript/Makefile		1.74
 ---
 Module Name:	pkgsrc
 Committed By:	tnn
 Date:		Wed Jan 20 08:50:16 UTC 2010

 Modified Files:
 	pkgsrc/print/ghostscript: Makefile

 Log Message:
 Remove list of platforms needing -fPIC. Enable it always when using GCC.
 Fixes DragonFly PR pkg/42644.


 To generate a diff of this commit:
 cvs rdiff -u -r1.72 -r1.72.2.1 pkgsrc/print/ghostscript/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.