svn commit: r342872 - head/games/fargoal/files

John Marino marino at FreeBSD.org
Wed Feb 5 22:08:08 UTC 2014


Author: marino
Date: Wed Feb  5 22:08:07 2014
New Revision: 342872
URL: http://svnweb.freebsd.org/changeset/ports/342872
QAT: https://qat.redports.org/buildarchive/r342872/

Log:
  games/fargoal: Explicitly link libm (taken from dports)

Modified:
  head/games/fargoal/files/patch-Makefile

Modified: head/games/fargoal/files/patch-Makefile
==============================================================================
--- head/games/fargoal/files/patch-Makefile	Wed Feb  5 22:02:38 2014	(r342871)
+++ head/games/fargoal/files/patch-Makefile	Wed Feb  5 22:08:07 2014	(r342872)
@@ -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


More information about the svn-ports-head mailing list