sparc64 (and presumably other ld.bfd arches) need "-L${X11BASE}/lib" added

to the LDFLAGS for the build to complete sucessfully.

ok bcallah@
This commit is contained in:
kmos 2020-04-25 22:41:39 +00:00
parent 5670b81fd4
commit 42da882c9b

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.38 2019/07/12 21:42:15 sthen Exp $
# $OpenBSD: Makefile,v 1.39 2020/04/25 22:41:39 kmos Exp $
BROKEN-hppa = ICE on dgn-shoals.cc:638
@ -59,7 +59,8 @@ CFLAGS += -DUSE_TILE
CXXFLAGS += -DUSE_TILE
MAKE_FLAGS += TILES=y \
LDFLAGS="-L${LOCALBASE}/lib -lSDL2 -lSDL2_image -lpng -pthread"
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib \
-lSDL2 -lSDL2_image -lpng -pthread"
WANTLIB += GL GLU SDL2 SDL2_image freetype png pthread z
RUN_DEPENDS = devel/desktop-file-utils
LIB_DEPENDS += devel/sdl2 \