aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-09-23 19:50:43 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-09-23 19:50:43 +0800
commitd701c32ce9c4aff8f73de97c47d45d9e640696a6 (patch)
treed18bbdddde5963bec1d18363b499f148cb41ca6d /games
parent19f057bae1315030c976185101f2c372fc35ff22 (diff)
downloadfreebsd-ports-gnome-d701c32ce9c4aff8f73de97c47d45d9e640696a6.tar.gz
freebsd-ports-gnome-d701c32ce9c4aff8f73de97c47d45d9e640696a6.tar.zst
freebsd-ports-gnome-d701c32ce9c4aff8f73de97c47d45d9e640696a6.zip
- Link with -lm, as sqrt() is used; fixes build on arm
Diffstat (limited to 'games')
-rw-r--r--games/moonlander/files/patch-Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/moonlander/files/patch-Makefile b/games/moonlander/files/patch-Makefile
index d0f935659ad3..87a4b29b77f5 100644
--- a/games/moonlander/files/patch-Makefile
+++ b/games/moonlander/files/patch-Makefile
@@ -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