aboutsummaryrefslogtreecommitdiff
path: root/games/neverball
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
commit216b5a285fdcc1456a307fcc60f3507c20d613eb (patch)
treed0c8617b772b8f0a175d436d938b8d844590b41f /games/neverball
parentb829518a7d432b7cc2546fde7f032238d1db13dc (diff)
downloadports-216b5a285fdcc1456a307fcc60f3507c20d613eb.tar.gz
ports-216b5a285fdcc1456a307fcc60f3507c20d613eb.zip
Notes
Diffstat (limited to 'games/neverball')
-rw-r--r--games/neverball/Makefile2
-rw-r--r--games/neverball/files/patch-Makefile2
2 files changed, 1 insertions, 3 deletions
diff --git a/games/neverball/Makefile b/games/neverball/Makefile
index ac4fcbc1322d..8fc7895d5f55 100644
--- a/games/neverball/Makefile
+++ b/games/neverball/Makefile
@@ -27,8 +27,6 @@ USE_XORG= x11
PORTDOCS= CHANGES COPYING README
PORTDATA= *
-LDFLAGS+= -lX11 # calls X functions directly, but doesn't link libX11
-
OPTIONS_DEFINE= DOCS NLS
.include <bsd.port.options.mk>
diff --git a/games/neverball/files/patch-Makefile b/games/neverball/files/patch-Makefile
index b5284cddd4f1..303107227d21 100644
--- a/games/neverball/files/patch-Makefile
+++ b/games/neverball/files/patch-Makefile
@@ -16,7 +16,7 @@
endif
+ifdef FREEBSD
-+ BASE_LIBS += -L%%LOCALBASE%%/lib
++ BASE_LIBS += -L%%LOCALBASE%%/lib -lX11 -lm
+
+ ifneq ($(ENABLE_NLS),0)
+ INTL_LIBS := -lintl %%ICONV_LIB%%