Bug 149498 - [PATCH] archivers/rpm4: config issue
Summary: [PATCH] archivers/rpm4: config issue
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: Johan van Selst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-10 14:00 UTC by Anders F Björklund
Modified: 2010-08-14 16:10 UTC (History)
0 users

See Also:


Attachments
file.diff (548 bytes, patch)
2010-08-10 14:00 UTC, Anders F Björklund
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders F Björklund 2010-08-10 14:00:11 UTC
RPM 4.8.1 uses a strange default for the %{_var} rpm macro...
The bug was fixed in RPM 5.0.0, variables need to be expanded.

Fix: ./configure --localstatedir=/var
Will use /var/lib/rpm for %{_dbpath} like pkg-install expects.


Patch attached with submission follows:
How-To-Repeat: $ rpm -qa
error: cannot open Packages database in /${prefix}/var/lib/rpm
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-08-10 14:00:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->johans

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-08-14 16:03:26 UTC
johans      2010-08-14 15:03:12 UTC

  FreeBSD ports repository

  Modified files:
    archivers/rpm4       Makefile 
  Log:
  Now set localstatedir correctly (/var)
  
  RPM 4.8.1 uses a strange default for the %{_var} rpm macro...
  The bug was fixed in RPM 5.0.0, variables need to be expanded.
  
  PR:             ports/149498
  Submitted by:   Anders F Björklund <afb@rpm5.org
  
  Revision  Changes    Path
  1.26      +2 -0      ports/archivers/rpm4/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 3 Johan van Selst freebsd_committer freebsd_triage 2010-08-14 16:04:12 UTC
State Changed
From-To: open->closed

Committed, thanks.