diff options
author | tijl <tijl@FreeBSD.org> | 2014-08-26 22:06:08 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-08-26 22:06:08 +0800 |
commit | f8357b5cbaa160ccdf9943cac099f5e092c591da (patch) | |
tree | d0c8617b772b8f0a175d436d938b8d844590b41f /games/neverball | |
parent | 89a7d6ecbdde724b92ca6650493f56cf68855f35 (diff) | |
download | freebsd-ports-gnome-f8357b5cbaa160ccdf9943cac099f5e092c591da.tar.gz freebsd-ports-gnome-f8357b5cbaa160ccdf9943cac099f5e092c591da.tar.zst freebsd-ports-gnome-f8357b5cbaa160ccdf9943cac099f5e092c591da.zip |
- Fix missing library problems when the linker enforces explicit linking
PR: 192062
Exp-run by: antoine
Approved by: portmgr (antoine)
Diffstat (limited to 'games/neverball')
-rw-r--r-- | games/neverball/Makefile | 2 | ||||
-rw-r--r-- | games/neverball/files/patch-Makefile | 2 |
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%% |