aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-09-09 21:34:34 +0800
committertijl <tijl@FreeBSD.org>2014-09-09 21:34:34 +0800
commitc7f1b9f219cb78cbc27bcfa70fb6969296e2a7f0 (patch)
tree8b511890c873bccea0c3140e1b2c0ca2ab9390ea /graphics
parenta36b9e552bd5f72273f128ba690d073bc33d366e (diff)
downloadfreebsd-ports-gnome-c7f1b9f219cb78cbc27bcfa70fb6969296e2a7f0.tar.gz
freebsd-ports-gnome-c7f1b9f219cb78cbc27bcfa70fb6969296e2a7f0.tar.zst
freebsd-ports-gnome-c7f1b9f219cb78cbc27bcfa70fb6969296e2a7f0.zip
Add USES=libtool and INSTALL_TARGET=install-strip
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libdrm/Makefile10
-rw-r--r--graphics/libdrm/pkg-plist11
2 files changed, 10 insertions, 11 deletions
diff --git a/graphics/libdrm/Makefile b/graphics/libdrm/Makefile
index 308b526ee73c..6622416afc5a 100644
--- a/graphics/libdrm/Makefile
+++ b/graphics/libdrm/Makefile
@@ -14,8 +14,9 @@ COMMENT= Userspace interface to kernel Direct Rendering Module services
LIB_DEPENDS= libpciaccess.so:${PORTSDIR}/devel/libpciaccess \
libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs
-USES= pkgconfig tar:bzip2
GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
+USES= libtool pkgconfig tar:bzip2
USE_LDCONFIG= yes
OPTIONS_DEFINE= MANPAGES
@@ -50,7 +51,7 @@ PLIST_SUB+= MAN="@comment "
.endif
LIBDRM_VERSION= 2.4.52
-LIBDRM_REVISION=0
+LIBDRM_REVISION=1
PLIST_SUB+= OLD="@comment " NEW=""
EXTRA_PATCHES+= ${FILESDIR}/extra-configure \
${FILESDIR}/extra-tests_modetest_Makefile.in \
@@ -61,7 +62,7 @@ CONFIGURE_ARGS+=--disable-vmwgfx
.else
CONFIGURE_ARGS= --enable-nouveau-experimental-api
LIBDRM_VERSION= 2.4.17
-LIBDRM_REVISION=1
+LIBDRM_REVISION=2
PLIST_SUB+= OLD="" NEW="@comment " NOUVEAU=""
.endif
@@ -81,7 +82,4 @@ pre-patch:
s,i?86|x86_64),i?86|amd64|x86_64),g' \
${WRKSRC}/configure
-post-install:
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so.*
-
.include <bsd.port.mk>
diff --git a/graphics/libdrm/pkg-plist b/graphics/libdrm/pkg-plist
index 702e450ef77b..4ac105d68abc 100644
--- a/graphics/libdrm/pkg-plist
+++ b/graphics/libdrm/pkg-plist
@@ -49,22 +49,23 @@
%%OLD%%include/nouveau/nouveau_resource.h
include/xf86drm.h
include/xf86drmMode.h
-lib/libdrm.la
lib/libdrm.so
lib/libdrm.so.2
-%%INTEL_DRIVER%%lib/libdrm_intel.la
+lib/libdrm.so.2.4.0
%%INTEL_DRIVER%%lib/libdrm_intel.so
%%INTEL_DRIVER%%lib/libdrm_intel.so.1
-%%NOUVEAU%%lib/libdrm_nouveau.la
+%%INTEL_DRIVER%%lib/libdrm_intel.so.1.0.0
%%NOUVEAU%%lib/libdrm_nouveau.so
%%OLD%%%%NOUVEAU%%lib/libdrm_nouveau.so.1
+%%OLD%%%%NOUVEAU%%lib/libdrm_nouveau.so.1.0.0
%%NEW%%%%NOUVEAU%%lib/libdrm_nouveau.so.2
-%%NEW%%%%RADEON_DRIVERS%%lib/libdrm_radeon.la
+%%NEW%%%%NOUVEAU%%lib/libdrm_nouveau.so.2.0.0
%%NEW%%%%RADEON_DRIVERS%%lib/libdrm_radeon.so
%%NEW%%%%RADEON_DRIVERS%%lib/libdrm_radeon.so.1
-%%NEW%%%%KMS%%lib/libkms.la
+%%NEW%%%%RADEON_DRIVERS%%lib/libdrm_radeon.so.1.0.1
%%NEW%%%%KMS%%lib/libkms.so
%%NEW%%%%KMS%%lib/libkms.so.1
+%%NEW%%%%KMS%%lib/libkms.so.1.0.0
libdata/pkgconfig/libdrm.pc
%%INTEL_DRIVER%%libdata/pkgconfig/libdrm_intel.pc
%%NOUVEAU%%libdata/pkgconfig/libdrm_nouveau.pc