Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jul 2003 00:27:28 +0100 (BST)
From:      Bruce M Simpson <bms@spc.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/54631: [PATCH] sysutils/portupgrade: fix pkgtools.conf.sample MAKE_ARG example
Message-ID:  <20030718232728.7B72B47D@saboteur.dek.spc.org>
Resent-Message-ID: <200307191120.h6JBKIai098434@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54631
>Category:       ports
>Synopsis:       [PATCH] sysutils/portupgrade: fix pkgtools.conf.sample MAKE_ARG example
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 19 04:20:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bruce M Simpson
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD saboteur.dek.spc.org 5.1-RELEASE FreeBSD 5.1-RELEASE #3: Mon Jun 23 06:55:01 BST 2003 root@saboteur.dek.spc.org:/usr/src/sys/i386/compile/SABOTEUR i386


	
>Description:
	The pkgtools.conf.sample file included with portupgrade does not make
	it immediately obvious, to users without a Ruby background, how to
	pass more than one argument to a portinstall/portupgrade build via the
	MAKE_ARG mechanism.
>How-To-Repeat:
	
>Fix:
	The following simple patch includes such an example.

--- pkgtools.col.patch begins here ---
Generated by diffcoll on Sat 19 Jul 2003 00:24:20 BST

diff -uN local/etc/pkgtools.conf.sample.orig local/etc/pkgtools.conf.sample
--- /usr/local/etc/pkgtools.conf.sample.orig	Sat Jul 19 00:22:14 2003
+++ /usr/local/etc/pkgtools.conf.sample	Sat Jul 19 00:23:55 2003
@@ -262,6 +262,14 @@
   #     'ruby18-*' => 'RUBY_VER=1.8',
   #     'ruby16-*' => 'RUBY_VER=1.6',
   #   }
+  #
+  # To specify multiple arguments for each port, use the following syntax:
+  #   MAKE_ARGS = {
+  #     'databases/mysql41-*' => [
+  #             'WITH_LINUXTHREADS=1',
+  #             'SKIP_DNS_CHECK=1',
+  #     ],
+  #   }
 
   MAKE_ARGS = {
   }
--- pkgtools.col.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030718232728.7B72B47D>