aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnurobots/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnurobots/Makefile')
-rw-r--r--games/gnurobots/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/games/gnurobots/Makefile b/games/gnurobots/Makefile
index f9ba86eef069..4496438f2a88 100644
--- a/games/gnurobots/Makefile
+++ b/games/gnurobots/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gnurobots
-PORTVERSION= 1.1.0
-PORTREVISION= 2
+PORTVERSION= 1.2.0
CATEGORIES= games
MASTER_SITES= GNU
@@ -16,12 +15,16 @@ COMMENT= GNU diversion wherein Scheme-coded robots explore a world
LIB_DEPENDS= guile.19:${PORTSDIR}/lang/guile
-USE_XORG= x11 xpm
-USE_GNOME= gnometarget glib20
+USE_GNOME= gnometarget vte
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|#include <pty.h>||g' ${WRKSRC}/src/ui-cmdwin.c
post-install:
.if !defined(NOPORTDOCS)