summaryrefslogtreecommitdiffstats
path: root/graphics/fyre
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2004-07-12 12:53:49 +0000
committeradamw <adamw@FreeBSD.org>2004-07-12 12:53:49 +0000
commitcac4d6fbf8404b1fdc43c12b41eea0e71daff9ec (patch)
treeeeda53889fcbc6f78d383592378291535b5dd6dc /graphics/fyre
parentf6359e5edc5e420af35b888952f55afa80318686 (diff)
downloadFreeBSD-ports-cac4d6fbf8404b1fdc43c12b41eea0e71daff9ec.zip
FreeBSD-ports-cac4d6fbf8404b1fdc43c12b41eea0e71daff9ec.tar.gz
Fix build on 4.x.
Diffstat (limited to 'graphics/fyre')
-rw-r--r--graphics/fyre/Makefile3
-rw-r--r--graphics/fyre/files/patch-Makefile10
2 files changed, 9 insertions, 4 deletions
diff --git a/graphics/fyre/Makefile b/graphics/fyre/Makefile
index 27755ba..c46e5bd 100644
--- a/graphics/fyre/Makefile
+++ b/graphics/fyre/Makefile
@@ -16,10 +16,11 @@ COMMENT= Chaos map rendering system with GTK+-2 interface
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GNOME= libglade2
+USE_GETOPT_LONG=yes
USE_GMAKE= yes
ALL_TARGET= ${PORTNAME}
-MAKE_ENV+= CPPFLAGS="${CPPFLAGS}"
+MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.include <bsd.port.pre.mk>
diff --git a/graphics/fyre/files/patch-Makefile b/graphics/fyre/files/patch-Makefile
index d47d9d7..b266606 100644
--- a/graphics/fyre/files/patch-Makefile
+++ b/graphics/fyre/files/patch-Makefile
@@ -1,5 +1,5 @@
--- Makefile.orig Sun Jul 11 02:26:40 2004
-+++ Makefile Sun Jul 11 11:13:07 2004
++++ Makefile Mon Jul 12 08:52:21 2004
@@ -1,21 +1,21 @@
# -march=i686 speeds this up quite a bit on my machine (even more so
# than -march=athlon-xp) so if this looks like a recent x86 machine,
@@ -30,8 +30,12 @@
CFLAGS += $(shell pkg-config --cflags $(PKGS))
LIBS += $(shell pkg-config --libs $(PKGS))
-@@ -50,7 +50,7 @@
- $(CC) -o $@ $(OBJS) $(LIBS)
+@@ -47,10 +47,10 @@
+
+
+ $(BIN): $(OBJS)
+- $(CC) -o $@ $(OBJS) $(LIBS)
++ $(CC) -o $@ $(OBJS) $(LIBS) $(LDFLAGS)
%.o: %.c src/*.h
- $(CC) -c -o $@ $< $(CFLAGS)
OpenPOWER on IntegriCloud