pkgsrc-Bugs archive

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

pkg/49066: rpm requires libmagic

>Number:         49066
>Category:       pkg
>Synopsis:       rpm requires libmagic
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 02 22:40:00 +0000 2014
>Originator:     Kamil Rytarowski
>Release:        pkgsrc current, 2014Q2
CentOS 6.x without -devel packages
RPM requires libmagic, this problem has been triggerd with CentOS 6.x.

This problem is generic and affects more platforms. Some/most of them have 
libmagic in base and overlook the problem.
1. Get a fresh install of CentOS 6.x
2. Get pkgsrc stable or current
3. Try to build misc/rpm
From c9d788505516c58fd081389af8239c84cce2da20 Mon Sep 17 00:00:00 2001
From: Kamil Rytarowski <kamil>
Date: Fri, 4 Apr 2014 14:12:47 +0200
Subject: [PATCH] Add missing dependency of ../../sysutils/file

RPM requires libmagic found in ../../sysutils/file
 misc/rpm/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/misc/rpm/Makefile b/misc/rpm/Makefile
index 1bf02e0..e4f3a0b 100644
--- a/misc/rpm/Makefile
+++ b/misc/rpm/Makefile
@@ -75,6 +75,7 @@ SUBST_MESSAGE.mkd=    Fixing workdir tools references in 
macros file
 SUBST_FILES.mkd=       macros
 SUBST_SED.mkd+=                -e 's,${TOOLS_CMD.mkdir},${TOOLS_PATH.mkdir},'
+.include "../../sysutils/file/"
 .include "../../converters/libiconv/"
 .include "../../devel/gettext-lib/"
 .include "../../devel/nss/"

Home | Main Index | Thread Index | Old Index