Bug#338388: libpri: FTBFS on GNU/kFreeBSD
Aurelien Jarno
aurel32 at debian.org
Thu Nov 10 00:44:29 UTC 2005
Package: libpri
Version: 1.2.0-rc1-1
Severity: important
Tags: patch
Hi,
libpri fails to build on GNU/kFreeBSD because it does not call ldconfig
correctly. Please find attached a patch to fix that. It first check for
systems with a GNU userland (ie a glibc), and then consider all of them
the same way.
It would be nice if it could be applied in the next upload.
Thanks in advance,
Aurelien
-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
-------------- next part --------------
--- libpri-1.2.0-rc1.orig/Makefile
+++ libpri-1.2.0-rc1/Makefile
@@ -32,6 +32,10 @@
OSARCH=$(shell uname -s)
PROC?=$(shell uname -m)
+ifneq (,$(findstring $(OSARCH), Linux GNU/kFreeBSD))
+OSARCH=GNU
+endif
+
TOBJS=testpri.o
T2OBJS=testprilib.o
STATIC_LIBRARY=libpri.a
@@ -43,7 +47,7 @@
INSTALL_BASE=/usr
SOFLAGS = -Wl,-hlibpri.so.1
LDCONFIG = /sbin/ldconfig
-ifeq (${OSARCH},Linux)
+ifeq (${OSARCH},GNU)
LDCONFIG_FLAGS=-n
else
ifeq (${OSARCH},FreeBSD)
More information about the Pkg-voip-maintainers
mailing list