aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-03-08 08:08:21 +0800
committermiwi <miwi@FreeBSD.org>2014-03-08 08:08:21 +0800
commit750ee669fb5a6506365e676060dcff7d80446563 (patch)
treede5b49a96a4156bb45e0a7edd788225b11a5c28d /graphics
parent3b995937a009a4a9081c8a2da8c27c04147394e5 (diff)
downloadfreebsd-ports-gnome-750ee669fb5a6506365e676060dcff7d80446563.tar.gz
freebsd-ports-gnome-750ee669fb5a6506365e676060dcff7d80446563.tar.zst
freebsd-ports-gnome-750ee669fb5a6506365e676060dcff7d80446563.zip
- Fix build with stagedir support by removing leftovers
Discussed/Reviewed by: bdrewery/antoine
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libGL/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/graphics/libGL/Makefile b/graphics/libGL/Makefile
index 265aa88446c5..73c785ed956a 100644
--- a/graphics/libGL/Makefile
+++ b/graphics/libGL/Makefile
@@ -30,4 +30,12 @@ LIBGLREVISION= 4
CONFIGURE_ARGS+=--disable-gallium-intel
.endif
+.if !defined(WITH_NEW_XORG)
+post-install:
+ ${RM} ${STAGEDIR}${PREFIX}/include/GL/glu.h
+ ${RM} ${STAGEDIR}${PREFIX}/include/GL/glu_mangle.h
+ ${RM} ${STAGEDIR}${PREFIX}/include/GL/internal/dri_interface.h
+ ${RM} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/dri.pc
+.endif
+
.include <bsd.port.mk>