diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
commit | 3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch) | |
tree | d573ea09b2bf6be67cb497df199932da9e2707c4 /games/egl/files | |
parent | 40049f4af2200d0dcf33596508688623fc75f764 (diff) | |
download | ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip |
Notes
Diffstat (limited to 'games/egl/files')
-rw-r--r-- | games/egl/files/patch-makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/games/egl/files/patch-makefile b/games/egl/files/patch-makefile index 50fdb2e85302..54716e5be36e 100644 --- a/games/egl/files/patch-makefile +++ b/games/egl/files/patch-makefile @@ -57,9 +57,9 @@ + +ifeq ($(OSTYPE),FreeBSD) +# These variables are defined from the port, and passed by the environment. -+SHARED_FLAGS+= -I$(LOCALBASE)/include -I$(X11BASE)/include \ ++SHARED_FLAGS+= -I$(LOCALBASE)/include \ + -DDATADIR='\"$(Q2DIR)\"' -DLIBDIR='\"$(LIBDIR)\"' -+LDFLAGS+= -L$(LOCALBASE)/lib -L$(X11BASE)/lib ++LDFLAGS+= -L$(LOCALBASE)/lib +X11_LDFLAGS+= $(PTHREAD_LIBS) +endif @@ -87,13 +87,13 @@ +SHARED_FLAGS += -DHOMEDIR +endif + -+ifeq ($(wildcard $(X11BASE)/include/X11/extensions/xf86vmode.h),/usr/include/X11/extensions/xf86vmode.h) ++ifeq ($(wildcard $(LOCALBASE)/include/X11/extensions/xf86vmode.h),/usr/include/X11/extensions/xf86vmode.h) SHARED_FLAGS += -DXF86VMODE X11_LDFLAGS += -lXxf86vm endif -ifeq ($(wildcard /usr/include/X11/extensions/xf86dga.h),/usr/include/X11/extensions/xf86dga.h) -+ifeq ($(wildcard $(X11BASE)/include/X11/extensions/xf86dga.h),/usr/include/X11/extensions/xf86dga.h) ++ifeq ($(wildcard $(LOCALBASE)/include/X11/extensions/xf86dga.h),/usr/include/X11/extensions/xf86dga.h) SHARED_FLAGS += -DXF86DGA X11_LDFLAGS += -lXxf86dga endif |