Bug 103195 - archivers/rpm4 fails to build python libs for python 2.4
Summary: archivers/rpm4 fails to build python libs for python 2.4
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: Greg Lewis
Depends on:
Reported: 2006-09-12 16:40 UTC by Eygene Ryabinkin
Modified: 2006-09-12 17:10 UTC (History)
0 users

See Also:

file.diff (8.21 KB, patch)
2006-09-12 16:40 UTC, Eygene Ryabinkin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eygene Ryabinkin 2006-09-12 16:40:21 UTC
Port archivers/rpm4 fails to recognize python 2.4, because its configure
script is rather old. So no python bindings are build when WITH_PYTHON
knob is on and deinstallation reports broken package list.

Fix: Add recognition of python 2.4 to the configure script. It is done in a
same manner that for python 2.3 (it was also added by patch, as I see).

The new file 'files/patch-configure' follows (it is no a patch for a
patch, it is just the new patchfile; weird, heh?)
How-To-Repeat: Build and install archivers/rpm4 with WITH_PYTHON defined and python 2.4
installed. You will not get python bindings in
/usr/local/share/python2.4/site-packages and 'make deinstall' will shout
that package list is broken.
Comment 1 Edwin Groothuis freebsd_committer 2006-09-12 16:40:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->glewis

Over to maintainer
Comment 2 dfilter service freebsd_committer 2006-09-12 17:06:45 UTC
glewis      2006-09-12 16:06:24 UTC

  FreeBSD ports repository

  Modified files:
    archivers/rpm4/files patch-configure 
  . Fix the build of the Python bindings for Python 2.4.  It seems like a
    better version of this patch would use bsd.python.mk and PYTHON_VERSION,
    but I don't have time right now.
  PR:             103195
  Submitted by:   Eygene A. Ryabinkin <rea-fbsd@codelabs.ru>
  Revision  Changes    Path
  1.4       +44 -9     ports/archivers/rpm4/files/patch-configure
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Greg Lewis freebsd_committer 2006-09-12 17:06:51 UTC
State Changed
From-To: open->closed

Committed. Thanks!