# $FreeBSD$
PORTNAME= libdrm
PORTVERSION= 2.4.96
PORTVERSION= 2.4.97
PORTEPOCH= 1
CATEGORIES= graphics x11
MASTER_SITES= http://dri.freedesktop.org/libdrm/
TIMESTAMP = 1539797646
TIMESTAMP = 1548800311
SHA256 (libdrm-2.4.96.tar.bz2) = 0d561acf7bb4cc59dc82415100e6c1a44860e8c380e00f9592923e3cd08db393
SHA256 (libdrm-2.4.97.tar.bz2) = 77d0ccda3e10d6593398edb70b1566bfe1a23a39bd3da98ace2147692eadd123
SIZE (libdrm-2.4.96.tar.bz2) = 829518
SIZE (libdrm-2.4.97.tar.bz2) = 837329
return DRM_BUS_VIRTIO;
return -EINVAL;
-#elif defined(__OpenBSD__)
-#elif defined(__OpenBSD__) || defined(__DragonFly__)
+#elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
return DRM_BUS_PCI;
#else