Bug 163244 - little correction for benchmarks/sysbench
Summary: little correction for benchmarks/sysbench
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ryan Steinmetz
Depends on:
Reported: 2011-12-13 13:10 UTC by Pavel Timofeev
Modified: 2011-12-14 04:20 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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
 CONFIGURE_ARGS+=       --with-pgsql
 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 2011-12-14 04:19:31 UTC
zi          2011-12-14 04:19:22 UTC

  FreeBSD ports repository

  Modified files:
    benchmarks/sysbench  Makefile 
  - Unbreak PGSQL support [1]
  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
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!