Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 11:50:44 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369047 - head/games/moonlander/files
Message-ID:  <201409231150.s8NBoilm039348@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Sep 23 11:50:43 2014
New Revision: 369047
URL: http://svnweb.freebsd.org/changeset/ports/369047
QAT: https://qat.redports.org/buildarchive/r369047/

Log:
  - Link with -lm, as sqrt() is used; fixes build on arm

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

Modified: head/games/moonlander/files/patch-Makefile
==============================================================================
--- head/games/moonlander/files/patch-Makefile	Tue Sep 23 11:43:19 2014	(r369046)
+++ head/games/moonlander/files/patch-Makefile	Tue Sep 23 11:50:43 2014	(r369047)
@@ -8,7 +8,7 @@
 +#CC=gcc
  
 -LIBS=SDL_image
-+LIBS=`sdl-config --libs` -lSDL_image -lSDL_mixer
++LIBS=`sdl-config --libs` -lSDL_image -lSDL_mixer -lm
  
  C_FILES=moon_lander.c game_lib.c DT_drawtext.c
  OBJ_FILES=moon_lander.o game_lib.o DT_drawtext.o 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409231150.s8NBoilm039348>