pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/rpm



Module Name:    pkgsrc
Committed By:   hauke
Date:           Tue Mar  4 18:03:32 UTC 2025

Modified Files:
        pkgsrc/misc/rpm: Makefile

Log Message:
Have misc/rpm initialize and seek its package database under
RPM_DB_PREFIX, not PREFIX/RPM_DB_PREFIX, in sync with {,DE}INSTALL.

Why RPM_DB_PREFIX defaults to VARBASE/pkg instead of just VARBASE, I
cannot see (historical raisins?), but I'll leave that for now.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 pkgsrc/misc/rpm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/rpm/Makefile
diff -u pkgsrc/misc/rpm/Makefile:1.107 pkgsrc/misc/rpm/Makefile:1.108
--- pkgsrc/misc/rpm/Makefile:1.107      Fri Feb  7 15:06:18 2025
+++ pkgsrc/misc/rpm/Makefile    Tue Mar  4 18:03:32 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.107 2025/02/07 15:06:18 adam Exp $
+# $NetBSD: Makefile,v 1.108 2025/03/04 18:03:32 hauke Exp $
 
 DISTNAME=      rpm-4.20.0
+PKGREVISION=   1
 CATEGORIES=    misc
 MASTER_SITES=  http://ftp.rpm.org/releases/rpm-${PKGVERSION_NOREV:R}.x/
 EXTRACT_SUFX=  .tar.bz2
@@ -18,6 +19,9 @@ USE_PKGLOCALEDIR=     yes
 USE_TOOLS+=            bash:run msgfmt perl:run pkg-config gsed
 LUA_VERSIONS_ACCEPTED= 54 53 52
 
+BUILD_DEFS+=           VARBASE
+
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_INSTALL_LOCALSTATEDIR=${RPM_DB_PREFIX}
 CMAKE_CONFIGURE_ARGS+= -DIntl_INCLUDE_DIR=${PREFIX}/include
 CMAKE_CONFIGURE_ARGS+= -DENABLE_OPENMP=OFF
 CMAKE_CONFIGURE_ARGS+= -DENABLE_PYTHON=OFF



Home | Main Index | Thread Index | Old Index