aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-11-24 05:15:02 +0800
committerpat <pat@FreeBSD.org>2002-11-24 05:15:02 +0800
commitfddca686cf917a5a9d00a2925ad11b7a1c92f267 (patch)
tree029fe0c6393b79cc4a911163d84801a54b7324e1 /games
parent873a074e1d87011a9735ffaacbb07d2c22521799 (diff)
downloadfreebsd-ports-gnome-fddca686cf917a5a9d00a2925ad11b7a1c92f267.tar.gz
freebsd-ports-gnome-fddca686cf917a5a9d00a2925ad11b7a1c92f267.tar.zst
freebsd-ports-gnome-fddca686cf917a5a9d00a2925ad11b7a1c92f267.zip
Fix build, make CFLAGS safe, unmark BROKEN.
Diffstat (limited to 'games')
-rw-r--r--games/newkind/Makefile1
-rw-r--r--games/newkind/files/patch-makefile10
2 files changed, 5 insertions, 6 deletions
diff --git a/games/newkind/Makefile b/games/newkind/Makefile
index a22b44fe1943..5a35827f8ac0 100644
--- a/games/newkind/Makefile
+++ b/games/newkind/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= alleg.4:${PORTSDIR}/devel/allegro
-BROKEN= Does not build with version of devel/allegro currently in ports
NO_CDROM= Reverse-engineered version of copyrighted abandonware
NO_PACKAGE= ${NO_CDROM}
USE_ZIP= yes
diff --git a/games/newkind/files/patch-makefile b/games/newkind/files/patch-makefile
index 2a8727651d42..2d214ac8a8bc 100644
--- a/games/newkind/files/patch-makefile
+++ b/games/newkind/files/patch-makefile
@@ -1,6 +1,6 @@
--- makefile.orig Fri Jul 6 21:29:04 2001
-+++ makefile Mon Sep 16 17:03:26 2002
-@@ -2,26 +2,24 @@
++++ makefile Sat Nov 23 16:06:24 2002
+@@ -2,26 +2,23 @@
# Makefile for Elite - The New Kind.
#
@@ -9,9 +9,9 @@
WRES = windres
-LIBS = -s -mwindows -lalleg_s -lkernel32 -lgdi32 -lcomdlg32 -luser32 -lole32 -lddraw -ldxguid -lwinmm -ldsound -ldinput
-+LOCALBASE ?= /usr/local
-+LIBS = -L$(LOCALBASE)/lib -L$(LOCALBASE)/lib/allegro/4.0 -lalleg
- CFLAGS = -mpentium -O2 -funroll-loops -Wall -DALLEGRO_STATICLINK
+-CFLAGS = -mpentium -O2 -funroll-loops -Wall -DALLEGRO_STATICLINK
++LIBS = -L$(LOCALBASE)/lib -L$(LOCALBASE)/lib/allegro/4.0 -lalleg `$(LOCALBASE)/bin/allegro-config --libs`
++CFLAGS += -funroll-loops -Wall -DALLEGRO_STATICLINK
+CFLAGS += -I$(LOCALBASE)/include -I$(LOCALBASE)/include/allegro
OBJS = alg_gfx.o alg_main.o docked.o elite.o\