aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/rpm
diff options
context:
space:
mode:
authornakai <nakai@FreeBSD.org>2000-10-20 10:50:04 +0800
committernakai <nakai@FreeBSD.org>2000-10-20 10:50:04 +0800
commit2abb80f4e867bd0aeb90acdc459f86728547782e (patch)
tree7293b3b218be8dbea6f04494ed8227894a7b88cd /archivers/rpm
parentbeb05805100b41732e525f052696f9394a5d8046 (diff)
downloadfreebsd-ports-gnome-2abb80f4e867bd0aeb90acdc459f86728547782e.tar.gz
freebsd-ports-gnome-2abb80f4e867bd0aeb90acdc459f86728547782e.tar.zst
freebsd-ports-gnome-2abb80f4e867bd0aeb90acdc459f86728547782e.zip
Fix for INSTALLS_SHLIB
Add patch for configure.in PR: ports/22046 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'archivers/rpm')
-rw-r--r--archivers/rpm/Makefile3
-rw-r--r--archivers/rpm/files/patch-bc57
2 files changed, 59 insertions, 1 deletions
diff --git a/archivers/rpm/Makefile b/archivers/rpm/Makefile
index 09b274afdc9b..c7edf7c6b47a 100644
--- a/archivers/rpm/Makefile
+++ b/archivers/rpm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= rpm
PORTVERSION= 3.0.6
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
@@ -21,7 +22,7 @@ USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-glob
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-INSTALL_SHLIB= yes
+INSTALLS_SHLIB= yes
MANLANG= "" ja pl ru
diff --git a/archivers/rpm/files/patch-bc b/archivers/rpm/files/patch-bc
new file mode 100644
index 000000000000..f081ede2c5a1
--- /dev/null
+++ b/archivers/rpm/files/patch-bc
@@ -0,0 +1,57 @@
+--- configure.in.orig Thu Sep 14 04:39:40 2000
++++ configure.in Wed Oct 4 23:13:46 2000
+@@ -369,7 +369,7 @@
+ AC_CHECK_HEADERS(netinet/in_systm.h)
+ AC_CHECK_HEADERS(machine/types.h)
+ AC_CHECK_HEADERS(mntent.h sys/mnttab.h sys/systemcfg.h)
+-AC_CHECK_HEADERS(sys/mount.h sys/mntctl.h sys/vmount.h)
++AC_CHECK_HEADERS(sys/mount.h sys/mntctl.h sys/param.h sys/vmount.h)
+ AC_CHECK_HEADERS(bzlib.h libio.h zlib.h)
+ AC_CHECK_HEADERS(err.h mcheck.h)
+
+@@ -431,6 +431,9 @@
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+ #endif
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
+ #include <sys/mount.h> ],
+ [struct statfs sfs;],
+ [AC_MSG_RESULT(in sys/mount.h)
+@@ -744,7 +747,7 @@
+ AC_SUBST(ROOT_GROUP)
+
+ if test "x$varprefix" = "x"; then
+- varprefix=`echo $prefix | sed 's/usr/var/'`
++ varprefix=`echo /var`
+ test "x$prefix" = xNONE && varprefix=`echo $ac_default_prefix | sed 's/usr/var/'`
+ fi
+ AC_SUBST(varprefix)
+@@ -872,7 +875,7 @@
+ RPMCONFIGDIR="`echo ${usrprefix}/lib/rpm`"
+ AC_DEFINE_UNQUOTED(RPMCONFIGDIR, "$RPMCONFIGDIR")
+ AC_SUBST(RPMCONFIGDIR)
+-SYSCONFIGDIR="`echo /etc/rpm`"
++SYSCONFIGDIR="`echo ${usrprefix}/etc/rpm`"
+ AC_DEFINE_UNQUOTED(SYSCONFIGDIR, "$SYSCONFIGDIR")
+ AC_SUBST(SYSCONFIGDIR)
+ LIBRPMRC_FILENAME="${RPMCONFIGDIR}/rpmrc"
+@@ -911,7 +914,6 @@
+ dnl # XXX Propagate -lucb to popt ...
+ dnl export LIBS INCPATH CONFIG_SITE
+
+-AC_CONFIG_SUBDIRS(popt)
+ AC_OUTPUT([Doxyfile Makefile rpmrc macros platform rpmpopt scripts/brp-redhat
+ lib/Makefile build/Makefile tools/Makefile scripts/Makefile
+ tests/Makefile tests/rpmrc tests/macros tests/hello-test/Makefile
+@@ -919,8 +921,7 @@
+ doc/Makefile doc/manual/Makefile
+ doc/ja/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile
+ python/Makefile perl/Makefile perl/Makefile.PL],
+- [echo timestamp > popt/stamp-h.in
+- echo timestamp > stamp-h.in])
++ [echo timestamp > stamp-h.in])
+ dnl touch Makefile.in
+ dnl sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile])
+