aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2010-03-15 20:28:30 +0800
committernork <nork@FreeBSD.org>2010-03-15 20:28:30 +0800
commitb8056302b2ef5abcbe5d539fdbfd467a7648b10e (patch)
tree38e7429ab3e6bd8585566230d1e7273ad8efbd23 /graphics
parent6da8853a0809ac8e3295574a38ea7484eeaddda1 (diff)
downloadfreebsd-ports-gnome-b8056302b2ef5abcbe5d539fdbfd467a7648b10e.tar.gz
freebsd-ports-gnome-b8056302b2ef5abcbe5d539fdbfd467a7648b10e.tar.zst
freebsd-ports-gnome-b8056302b2ef5abcbe5d539fdbfd467a7648b10e.zip
To set variable, enclose in bsd.port.pre.mk - bsd.port.post.mk.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libdrm/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/libdrm/Makefile b/graphics/libdrm/Makefile
index 7c93d799ad3f..665dc03177dc 100644
--- a/graphics/libdrm/Makefile
+++ b/graphics/libdrm/Makefile
@@ -22,7 +22,9 @@ USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
-.ifdef WITHOUT_NOUVEAU
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_NOUVEAU)
LIBDRM_VERSION= 2.4.17
CONFIGURE_ARGS= --disable-nouveau-experimental-api \
--disable-radeon-experimental-api
@@ -37,4 +39,4 @@ pre-patch:
@${REINPLACE_CMD} 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|g' \
${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>