diff options
Diffstat (limited to 'games/xevil')
-rw-r--r-- | games/xevil/Makefile | 5 | ||||
-rw-r--r-- | games/xevil/files/patch-aa | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/games/xevil/Makefile b/games/xevil/Makefile index 27662ad..ba410fb 100644 --- a/games/xevil/Makefile +++ b/games/xevil/Makefile @@ -7,7 +7,7 @@ PORTNAME= xevil PORTVERSION= 2.02.r2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://www.xevil.com/download/stable/ DISTNAME= xevilsrc${PORTVERSION:S/.r/r/} @@ -15,9 +15,8 @@ DISTNAME= xevilsrc${PORTVERSION:S/.r/r/} MAINTAINER= ports@FreeBSD.org COMMENT= A fast-action, networked, anti-social, kill-everything game -USE_X_PREFIX= yes USE_ZIP= yes -USE_XPM= yes +USE_XORG= xpm MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" MAKEFILE= makefile ALL_TARGET= freebsd diff --git a/games/xevil/files/patch-aa b/games/xevil/files/patch-aa index 5ef4b4f..a786c4e 100644 --- a/games/xevil/files/patch-aa +++ b/games/xevil/files/patch-aa @@ -29,7 +29,7 @@ -INCL_DIRS="-I/usr/X11R6/include" LIBS_DIRS="-L/usr/X11R6/lib" \ + @$(MAKE) CC="${CXX}" \ +CFLAGS="-DUSE_RANDOM -DUSE_UINT_NET_LENGTH -DUNAME_USR_BIN ${CXXFLAGS}" \ -+INCL_DIRS="-I$(X11BASE)/include" LIBS_DIRS="-L$(X11BASE)/lib" \ ++INCL_DIRS="-I$(LOCALBASE)/include" LIBS_DIRS="-L$(LOCALBASE)/lib" \ OBJ_DIR=$(DEPTH)/x11/FREEBSD PCKG_NAME="freebsd" \ LIBS="-lXpm -lX11 -lm" $(TARGETS) |