summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/vte
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-08-23 02:02:01 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-08-23 02:02:01 +0800
commitc1a0b886a787a2cba13ea891f136c2789837ecb5 (patch)
treefb56ada120156212ac10416c0086d73dfece6770 /x11-toolkits/vte
parenta91847b6138d5abebd81a6f29ef0a2da4749faa7 (diff)
downloadmarcuscom-ports-c1a0b886a787a2cba13ea891f136c2789837ecb5.tar
marcuscom-ports-c1a0b886a787a2cba13ea891f136c2789837ecb5.tar.gz
marcuscom-ports-c1a0b886a787a2cba13ea891f136c2789837ecb5.tar.bz2
marcuscom-ports-c1a0b886a787a2cba13ea891f136c2789837ecb5.tar.lz
marcuscom-ports-c1a0b886a787a2cba13ea891f136c2789837ecb5.tar.xz
marcuscom-ports-c1a0b886a787a2cba13ea891f136c2789837ecb5.tar.zst
marcuscom-ports-c1a0b886a787a2cba13ea891f136c2789837ecb5.zip
Add a configurable WITH_GLX option to render the terminal using DRI. This
may help performance on some machines. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1078 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/vte')
-rw-r--r--x11-toolkits/vte/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11-toolkits/vte/Makefile b/x11-toolkits/vte/Makefile
index 495462d6c..8b3f2a64c 100644
--- a/x11-toolkits/vte/Makefile
+++ b/x11-toolkits/vte/Makefile
@@ -28,6 +28,16 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
BSD_PTHREAD_LIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --disable-python
+.ifdef(WITH_GLX)
+CONFIGURE_ARGS+= --with-glX
+.endif
+
+pre-everything::
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "Vte supports the following configurable option(s):"
+ @${ECHO_MSG} " WITH_GLX=yes Enable support for DRI rendering (may improve performance)"
+ @${ECHO_MSG} ""
+
post-patch:
@${REINPLACE_CMD} -e 's|malloc\.h|stdlib.h|g' \
${WRKSRC}/gnome-pty-helper/gnome-pty-helper.c