ports/94288: [PATCH] misc/tinderbox: OPTIONaly depend on c[v]sup
Ion-Mihai Tetcu
itetcu at people.tecnik93.com
Fri Mar 10 02:40:09 UTC 2006
The following reply was made to PR ports/94288; it has been noted by GNATS.
From: Ion-Mihai Tetcu <itetcu at people.tecnik93.com>
To: "Ion-Mihai "IOnut" Tetcu" <itetcu at people.tecnik93.com>
Cc: "FreeBSD gnats submit" <FreeBSD-gnats-submit at FreeBSD.org>
Subject: Re: ports/94288: [PATCH] misc/tinderbox: OPTIONaly depend on
c[v]sup
Date: Fri, 10 Mar 2006 04:32:04 +0200
--MP_15qD_UUazmXQi8Sx6qg/oX=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
This new patch also fixes p5-DBD-mysql dependency
# /var/tinderbox/scripts/setup.sh
Welcome to the Tinderbox Setup script. This script will guide you through
some of the automated Tinderbox setup steps. Once this script completes, you
should review the documentation in /var/tinderbox/scripts/README or on the
web at http://tinderbox.marcuscom.com/ to complete your setup.
Hit <ENTER> to get started:
INFO: Checking prerequisites ...
DONE.
INFO: Creating default configuration files ...
DONE.
INFO: Beginning database configuration.
Enter database driver (mysql pgsql): mysql
INFO: Checking for prerequisites for mysql database driver ...
ERROR: The following mandatory dependencies are missing. These must be
installed prior to running the Tinderbox setup script.
ERROR: databases/p5-DBD-mysql41 databases/mysql41-client
root(itetcu)@worf/SU >-SSH-> /usr/ports/misc/tinderbox [4:20:44] 1
# pkg_info -I p5-DBD\*
p5-DBD-mysql-3.0002 MySQL driver for the Perl5 Database Interface (DBI)
# make -VMYSQL_VER
50
--
IOnut - Unregistered ;) FreeBSD "user"
"Intellectual Property" is nowhere near as valuable as "Intellect"
BOFH excuse #157:
Incorrect time synchronization
--MP_15qD_UUazmXQi8Sx6qg/oX=
Content-Type: text/x-patch; name=tinderbox.diff
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=tinderbox.diff
? tinderbox.diff
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/tinderbox/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile 24 Feb 2006 02:28:02 -0000 1.13
+++ Makefile 10 Mar 2006 02:28:45 -0000
@@ -6,7 +6,7 @@
PORTNAME= tinderbox
PORTVERSION= 2.3.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://tinderbox.marcuscom.com/
@@ -19,7 +19,9 @@
cvsup:${PORTSDIR}/net/cvsup-without-gui
OPTIONS= PGSQL "With pgsql" On \
- MYSQL "With mysql" Off
+ MYSQL "With mysql" Off \
+ CSUP "Use CSUP for updates" On \
+ CVSUP "Use CVSUP for updates" Off
NO_BUILD= yes
USE_APACHE= yes
@@ -43,7 +45,15 @@
.if defined(WITH_MYSQL)
USE_PHP+= mysql
USE_MYSQL= yes
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER}
+.endif
+
+.if defined(WITH_CSUP)
+RUN_DEPENDS+= csup:${PORTSDIR}/net/csup
+.endif
+
+.if defined(WITH_CVSUP)
+RUN_DEPENDS+= cvsup:${PORTSDIR}/net/cvsup-without-gui
.endif
.include "${PORTSDIR}/Mk/bsd.php.mk"
--MP_15qD_UUazmXQi8Sx6qg/oX=--
More information about the freebsd-ports-bugs
mailing list