summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2013-05-15 03:54:42 +0000
committerrichard <richard@pkgsrc.org>2013-05-15 03:54:42 +0000
commitaa9eca546b1cd04a465b8cda8a7ea0bf26bae1c7 (patch)
tree1d1c8c14a87364d83d8852a4f36ba80691d50658
parentf136fcae3c7cf01251ba82d921fcbec313fcbf97 (diff)
downloadpkgsrc-aa9eca546b1cd04a465b8cda8a7ea0bf26bae1c7.tar.gz
terminate incomplete libpciaccess update
-rw-r--r--sysutils/libpciaccess/patches/patch-aa42
1 files changed, 0 insertions, 42 deletions
diff --git a/sysutils/libpciaccess/patches/patch-aa b/sysutils/libpciaccess/patches/patch-aa
deleted file mode 100644
index 0c767cc4ec0..00000000000
--- a/sysutils/libpciaccess/patches/patch-aa
+++ /dev/null
@@ -1,42 +0,0 @@
-$NetBSD: patch-aa,v 1.6 2012/07/14 23:42:13 wiz Exp $
-
-Check for libpci and mtrr headers on NetBSD.
-
---- configure.ac.orig 2012-04-09 17:04:39.000000000 +0000
-+++ configure.ac
-@@ -77,11 +77,11 @@ case $host_os in
- ;;
- *netbsd*)
- case $host in
-- *i386*)
-- PCIACCESS_LIBS="-li386"
-+ *i[[3-9]]86*)
-+ PCIACCESS_LIBS="-li386 $PCIACCESS_LIBS"
- ;;
- *x86_64*|*amd64*)
-- PCIACCESS_LIBS="-lx86_64"
-+ PCIACCESS_LIBS="-lx86_64 $PCIACCESS_LIBS"
- ;;
- esac
- netbsd=yes
-@@ -109,7 +109,20 @@ AC_SYS_LARGEFILE
-
- AC_CHECK_HEADERS([err.h])
-
-+if test "x$netbsd" = xyes; then
-+AC_CHECK_LIB([pci], [pcibus_conf_read],
-+ [PCIACCESS_LIBS="-lpci $PCIACCESS_LIBS"],
-+ [AC_MSG_ERROR(check for libpci failed.)])
-+AC_CHECK_HEADERS([machine/sysarch.h])
-+AC_CHECK_HEADERS([machine/mtrr.h], [have_mtrr_h="yes"], [have_mtrr_h="no"],
-+[#ifdef HAVE_MACHINE_SYSARCH_H
-+#include <sys/types.h>
-+#include <machine/sysarch.h>
-+#endif
-+])
-+else
- AC_CHECK_HEADER([asm/mtrr.h], [have_mtrr_h="yes"], [have_mtrr_h="no"])
-+fi
-
- if test "x$have_mtrr_h" = xyes; then
- AC_DEFINE(HAVE_MTRR, 1, [Use MTRRs on mappings])