diff options
author | Koop Mast <kwm@FreeBSD.org> | 2014-05-17 09:56:00 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2014-05-17 09:56:00 +0000 |
commit | c951967af7efc8ade2b54be511649053a1a8cb0a (patch) | |
tree | e9172feaf552da3dbe353c195227e5c9d143116e /graphics/dri | |
parent | 1954b8b110d19ca526b712651e7e6e07be899111 (diff) | |
download | ports-c951967af7efc8ade2b54be511649053a1a8cb0a.tar.gz ports-c951967af7efc8ade2b54be511649053a1a8cb0a.zip |
Notes
Diffstat (limited to 'graphics/dri')
-rw-r--r-- | graphics/dri/Makefile | 16 | ||||
-rw-r--r-- | graphics/dri/pkg-plist | 1 |
2 files changed, 15 insertions, 2 deletions
diff --git a/graphics/dri/Makefile b/graphics/dri/Makefile index 098adbefacd8..a06ab7d9566c 100644 --- a/graphics/dri/Makefile +++ b/graphics/dri/Makefile @@ -3,7 +3,7 @@ PORTNAME= dri PORTVERSION= ${MESAVERSION} -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 2 CATEGORIES= graphics @@ -46,7 +46,7 @@ DRI_DRIVERS= ${ALL_DRI_DRIVERS} .endif .if defined(WITH_NEW_XORG) -. if defined(WITH_GALLIUM) && (${ARCH} == i386 || ${ARCH} == amd64) +. if !defined(WITHOUT_GALLIUM) && (${ARCH} == i386 || ${ARCH} == amd64) BUILD_DEPENDS+= llvm-config33:${PORTSDIR}/devel/llvm33 CONFIGURE_ENV+= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config33 @@ -98,4 +98,16 @@ pre-everything:: @${ECHO_MSG} "" .endif +post-install: +.if defined(WITH_NEW_XORG) + @${RM} -f ${STAGEDIR}${PREFIX}/include/GL/*.h + @${RM} ${STAGEDIR}${PREFIX}/lib/libGL.* + @${RM} ${STAGEDIR}${PREFIX}/lib/libglapi.* + @${RM} -f ${STAGEDIR}${PREFIX}/libdata/pkgconfig/gl.pc +.else + @${RM} -f ${STAGEDIR}${PREFIX}/include/GL/*.h + @${RM} -rf ${STAGEDIR}${PREFIX}/lib/.libGL + @${RM} -f ${STAGEDIR}${PREFIX}/libdata/pkgconfig/gl.pc +.endif + .include <bsd.port.mk> diff --git a/graphics/dri/pkg-plist b/graphics/dri/pkg-plist index d80890bb33d4..21dd35247a8f 100644 --- a/graphics/dri/pkg-plist +++ b/graphics/dri/pkg-plist @@ -31,6 +31,7 @@ include/GL/internal/dri_interface.h %%NEW%%lib/libdricore%%VERSION%%.la %%NEW%%lib/libdricore%%VERSION%%.so %%NEW%%lib/libdricore%%VERSION%%.so.1 +%%NEW%%lib/libdricore%%VERSION%%.so.1.0.0 %%NEW%%%%GALLIUM%%lib/libllvmradeon%%VERSION%%.la %%NEW%%%%GALLIUM%%lib/libllvmradeon%%VERSION%%.so libdata/pkgconfig/dri.pc |