Bug 163244

Summary: little correction for benchmarks/sysbench
Product: Ports & Packages Reporter: Pavel Timofeev <timp87>
Component: Individual Port(s)Assignee: Ryan Steinmetz <zi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Pavel Timofeev 2011-12-13 13:10:09 UTC
There is no PostgreSQL 8.0 in ports and we don't have 7.x branch anymore.

[root@timp /usr/ports/benchmarks/sysbench]# make showconfig
===> The following configuration options are available for sysbench-0.4.12_1:
     LARGEFILE=on "Enable Largefile support"
     MYSQL=on "Enable MySQL support"
     POSTGRESQL=on "Enable PostgreSQL support"
===> Use 'make config' to modify these settings


[root@timp /usr/ports/benchmarks/sysbench]# make install
===>  sysbench-0.4.12_1 cannot install: unknown PostgreSQL version: 80.
*** Error code 1

Stop in /usr/ports/benchmarks/sysbench.

Fix: [root@timp /usr/ports/benchmarks/sysbench]# diff -u Makefile.orig Makefile


.if defined(WITH_POSTGRESQL)
 USE_PGSQL=     yes
-DEFAULT_PGSQL_VER?=    80
-IGNORE_WITH_PGSQL=     73 74
 CONFIGURE_ARGS+=       --with-pgsql
 .else
 CONFIGURE_ARGS+=       --with-pgsql=no--RBI1tZ0W4au6NmPCKvnlYyuFusWW0tah3KAAP4bktMwk97zM
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.orig       2011-12-13 17:06:31.000000000 +0400
+++ Makefile    2011-12-13 17:06:56.000000000 +0400
@@ -37,8 +37,6 @@
How-To-Repeat: try to install benchmarks/sysbench with PostgreSQL support.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-12-13 13:22:55 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

ports PR.
Comment 2 Ryan Steinmetz freebsd_committer freebsd_triage 2011-12-14 04:14:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->zi

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-12-14 04:19:31 UTC
zi          2011-12-14 04:19:22 UTC

  FreeBSD ports repository

  Modified files:
    benchmarks/sysbench  Makefile 
  Log:
  - Unbreak PGSQL support [1]
  - Add LICENSE
  
  PR:             ports/163244 [1]
  Submitted by:   Pavel Timofeev <timp87@gmail.com> [1]
  
  Revision  Changes    Path
  1.18      +3 -2      ports/benchmarks/sysbench/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Ryan Steinmetz freebsd_committer freebsd_triage 2011-12-14 04:19:37 UTC
State Changed
From-To: open->closed

Committed. Thanks!