NetBSD Problem Report #34757
From pancake@phreaker.net Sun Oct 8 13:40:41 2006
Return-Path: <pancake@phreaker.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 14A2563B84E
for <gnats-bugs@gnats.NetBSD.org>; Sun, 8 Oct 2006 13:40:41 +0000 (UTC)
Message-Id: <20061008113226.241C1E3D4@porticoluna.org>
Date: Sun, 8 Oct 2006 13:32:26 +0200 (CEST)
From: pancake@phreaker.net
Reply-To: pancake@phreaker.net
To: gnats-bugs@NetBSD.org
Subject: pkg_options for graphics/gnuplot
X-Send-Pr-Version: 3.95
>Number: 34757
>Category: pkg
>Synopsis: add pkg-options to gnuplot
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: asau
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Oct 08 13:45:00 +0000 2006
>Closed-Date: Fri Feb 19 14:12:19 +0000 2010
>Last-Modified: Fri Feb 19 14:12:19 +0000 2010
>Originator: pancake
>Release: Linux 2.6.15bare
>Organization:
>Environment:
System: Linux bare 2.6.15bare #7 PREEMPT Tue Mar 14 14:34:34 CET 2006 i686 GNU/Linux
Architecture: unknown
Machine: i686
>Description:
This patch adds build options support for graphics/gnuplot.
It makes pdf and gd optionals. With default 'gd'.
>How-To-Repeat:
>Fix:
options.mk:
# $NetBSD$
PKG_OPTIONS_VAR=PKG_OPTIONS.gnuplot
PKG_SUGGESTED_OPTIONS=gd
PKG_SUPPORTED_OPTIONS=pdf gd
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mpdf)
CONFIGURE_ARGS+= --with-pdf
.include "../../print/pdflib/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mgd)
.include "../../graphics/gd/buildlink3.mk"
.endif
--
The patch:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/gnuplot/Makefile,v
retrieving revision 1.35
diff -u -r1.35 Makefile
--- Makefile 17 Apr 2006 13:46:32 -0000 1.35
+++ Makefile 8 Oct 2006 11:38:30 -0000
@@ -9,6 +9,7 @@
.include "../../graphics/gnuplot/Makefile.common"
+.include "../../graphics/gnuplot/options.mk"
.include "../../graphics/plotutils/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/gnuplot/Makefile.common,v
retrieving revision 1.8
diff -u -r1.8 Makefile.common
--- Makefile.common 4 Apr 2006 14:45:44 -0000 1.8
+++ Makefile.common 8 Oct 2006 11:38:30 -0000
@@ -20,12 +20,9 @@
USE_TOOLS+= makeinfo
INFO_FILES= # PLIST
-CONFIGURE_ARGS+= --with-pdf
CONFIGURE_ARGS+= --enable-history-file
CONFIGURE_ARGS+= --with-plot=${PREFIX:Q}
CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline}
CONFIGURE_ARGS+= --without-lisp-files
.include "../../devel/readline/buildlink3.mk"
-.include "../../graphics/gd/buildlink3.mk"
-.include "../../print/pdflib/buildlink3.mk"
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->garbled
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Sun, 08 Oct 2006 22:08:53 +0000
Responsible-Changed-Why:
Over to maintainer.
Responsible-Changed-From-To: garbled->pkg-manager
Responsible-Changed-By: wiz@narn.netbsd.org
Responsible-Changed-When: Sat, 19 Jan 2008 09:19:49 +0000
Responsible-Changed-Why:
Maintainer reset, back to role account.
Responsible-Changed-From-To: pkg-manager->asau
Responsible-Changed-By: asau@NetBSD.org
Responsible-Changed-When: Mon, 02 Nov 2009 15:17:31 +0000
Responsible-Changed-Why:
Take.
From: Aleksej Saushev <asau@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/34757 CVS commit: pkgsrc/graphics/gnuplot
Date: Fri, 19 Feb 2010 14:09:58 +0000
Module Name: pkgsrc
Committed By: asau
Date: Fri Feb 19 14:09:58 UTC 2010
Modified Files:
pkgsrc/graphics/gnuplot: Makefile Makefile.common
Added Files:
pkgsrc/graphics/gnuplot: options.mk
Log Message:
Add "gd" and "pdf" options, default on. PR pkg/34757
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/graphics/gnuplot/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/graphics/gnuplot/Makefile.common
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/gnuplot/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: asau@NetBSD.org
State-Changed-When: Fri, 19 Feb 2010 14:12:19 +0000
State-Changed-Why:
Done.
>Unformatted:
(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.