diff options
author | John Marino <marino@FreeBSD.org> | 2014-02-05 22:08:07 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-02-05 22:08:07 +0000 |
commit | c7e7a4fbec86da3bd47ba4ce907e2aab936a2e69 (patch) | |
tree | 868a744d056caeea6809f4b874b960830e1cc619 /games/fargoal | |
parent | 9dbbffc79f75867d947645b211e584b5b6df812f (diff) | |
download | ports-c7e7a4fbec86da3bd47ba4ce907e2aab936a2e69.tar.gz ports-c7e7a4fbec86da3bd47ba4ce907e2aab936a2e69.zip |
games/fargoal: Explicitly link libm (taken from dports)
Notes
Notes:
svn path=/head/; revision=342872
Diffstat (limited to 'games/fargoal')
-rw-r--r-- | games/fargoal/files/patch-Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/games/fargoal/files/patch-Makefile b/games/fargoal/files/patch-Makefile index 8d4b6e9ef0b3..106d29ed8ec1 100644 --- a/games/fargoal/files/patch-Makefile +++ b/games/fargoal/files/patch-Makefile @@ -1,15 +1,17 @@ ---- Makefile.orig Tue Jun 29 16:45:02 2004 -+++ Makefile Thu Aug 11 15:12:26 2005 +--- Makefile.orig 2004-06-29 14:45:02.000000000 -0500 ++++ Makefile @@ -1,4 +1,4 @@ -CC=gcc +all: ../sword ../sword: char.o config.o credits.o game.o gfx.o main.o map.o menu.o message.o monster.o player.o save.o scroller.o spell.o $(CC) -o $@ $(LDFLAGS) $^ $(LDLIBS) include makefile.dep -@@ -10,5 +10,5 @@ +@@ -9,6 +9,6 @@ ifdef MINGDIR + LDLIBS := -lalleg CFLAGS += -DMINGW else - LDLIBS := `allegro-config --libs` +-LDLIBS := `allegro-config --libs` -CFLAGS += `allegro-config --cflags` -DLINUX ++LDLIBS := `allegro-config --libs` -lm +CFLAGS += `allegro-config --cflags` -DLINUX -DALLEGRO_LINUX endif |