1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/archivers/rpm4/files/patch-lib::Makefile.in
Greg Lewis 63157dad83 Add a port of rpm 4.0.4:
"The Red Hat Package Manager (RPM) is a powerful command line driven
 package management system capable of installing, uninstalling,
 verifying, querying, and updating computer software packages. Each
 software package consists of an archive of files along with information
 about the package like its version, a description, and the like.
 There is also a related API ("Application Program Interface"),
 permitting advanced developers to bypass 'shelling out' to a command
 line, and to manage such transactions from within a native coding
 language.

 WWW: http://www.rpm.org/"

4.0.4 was chosen because:
. The only newer version available as a tarball (4.1) is buggy.
. This version closely corresponds to our current default linux_base.
. This version uses the version of popt we have in the tree (unfortunately
  it uses an earlier version of beecrypt).
. This version is a lot less work to port than 4.2 (elfutils).

However, I am considering how best this port could be updated to a more
recent version (e.g. 4.1.1 or 4.2, probably the latter).

This wasn't an update to the current rpm port as I haven't done enough
testing of other ports that use rpm with it.

Tested on 4.9/i386, 5.2/sparc64 and 5.2/alpha.
2004-03-05 02:26:10 +00:00

35 lines
895 B
Plaintext

--- lib/Makefile.in.orig Thu Feb 14 16:58:39 2002
+++ lib/Makefile.in Thu Mar 4 01:03:02 2004
@@ -194,7 +194,7 @@
-I$(top_srcdir)/rpmdb \
-I$(top_srcdir)/rpmio \
-I$(top_srcdir)/beecrypt \
- -I$(top_srcdir)/popt \
+ @WITH_POPT_INCLUDE@ \
@INCPATH@
@@ -214,11 +214,10 @@
mylibpaths = \
-L$(top_builddir)/lib/.libs \
-L$(top_builddir)/rpmdb/.libs \
- -L$(top_builddir)/rpmio/.libs \
- -L$(top_builddir)/popt/.libs
+ -L$(top_builddir)/rpmio/.libs
-mylibs = -lrpm -lrpmdb -lrpmio -lpopt @LIBS@ @INTLLIBS@ @LIBMISC@
+mylibs = -lrpm -lrpmdb -lrpmio @WITH_POPT_LIB@ @LIBS@ @INTLLIBS@ @LIBMISC@
LIBS =
lib_LTLIBRARIES = librpm.la
@@ -421,7 +420,7 @@
install-exec-am: install-libLTLIBRARIES
install-exec: install-exec-am
-install-data-am: install-pkgincHEADERS install-data-local
+install-data-am: install-pkgincHEADERS
install-data: install-data-am
install-am: all-am