diff options
Diffstat (limited to 'games/xtrojka')
-rw-r--r-- | games/xtrojka/Makefile | 4 | ||||
-rw-r--r-- | games/xtrojka/files/patch-aa | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/games/xtrojka/Makefile b/games/xtrojka/Makefile index d7b21ee4d0e2..7fbc6c07ae8d 100644 --- a/games/xtrojka/Makefile +++ b/games/xtrojka/Makefile @@ -7,7 +7,7 @@ PORTNAME= xtrojka PORTVERSION= 1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= ftp://ftp.funet.fi/pub/unix/games/ DISTNAME= ${PORTNAME} @@ -15,10 +15,10 @@ DISTNAME= ${PORTNAME} MAINTAINER= e@ik.nu COMMENT= Game of skill similar to T*tris +USE_XORG= x11 xt xproto xaw WRKSRC= ${WRKDIR} MAN6= xtrojka.6 MANCOMPRESSED= yes -USE_XLIB= yes pre-install: ${MKDIR} ${PREFIX}/share/xtrojka diff --git a/games/xtrojka/files/patch-aa b/games/xtrojka/files/patch-aa index c84978d819c1..fc405e53b436 100644 --- a/games/xtrojka/files/patch-aa +++ b/games/xtrojka/files/patch-aa @@ -21,7 +21,7 @@ # add library search path # -CFLAGS+=-L/usr/X11/lib -+CFLAGS+=-L${X11BASE}/lib ++CFLAGS+=-L${LOCALBASE}/lib # on some systems you might add this line, because gcc starts wining # about 'sizeof(Display)', since Display might be an empty struct; @@ -52,7 +52,7 @@ #LIBS=-lnsl +# FreeBSD -+XDIR=${X11BASE}/include ++XDIR=${LOCALBASE}/include +LIBS=-lm + # |