- Respect X11BASE

PR:		ports/105819
Submitted by:	trasz
This commit is contained in:
Martin Wilke 2006-11-24 22:48:51 +00:00
parent c273bb04eb
commit e89472339b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177997
2 changed files with 6 additions and 5 deletions

View file

@ -8,8 +8,8 @@
PORTNAME= xinvaders3d
PORTVERSION= 1.3.6
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
MAINTAINER= ports@FreeBSD.org

View file

@ -1,11 +1,12 @@
--- Makefile.orig Sat Feb 5 01:10:42 2000
+++ Makefile Sun Feb 6 20:33:42 2000
--- Makefile.orig Wed Oct 11 17:32:13 2000
+++ Makefile Fri Nov 24 16:02:54 2006
@@ -1,18 +1,18 @@
all: game
-CC = gcc
-XLIB = -L/usr/X11R6/lib -I/usr/X11R6/include
+CC?= gcc
XLIB = -L/usr/X11R6/lib -I/usr/X11R6/include
+XLIB = -L$(X11BASE)/lib -I$(X11BASE)/include
LIBS = -lm -lX11
OBJS = game.o aliens.o player.o effects.o \
object.o camera.o main-x11.o vec4x1.o mat4x4.o