On Sat, 25 Apr 2020 17:57:17 -0400
Kurt Mosiejczuk wrote:

> sparc64 (and presumably other ld.bfd arches) need the addition of 
> ${X11BASE}/lib to the LDFLAGS to build.
> 
> ok?

Brian sent me some months ago a similar diff, but colors are off [0],
and it's a torture to play it like this.

I'm proposing to not provide it on BE_ARCHS.

> (cc maintainer)
> 
> --Kurt
> 


[0] http://0x0.st/ij6c.jpg


Index: Makefile
===================================================================
RCS file: /cvs/ports/games/postal/Makefile,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 Makefile
--- Makefile    12 Jul 2019 20:46:23 -0000      1.7
+++ Makefile    25 Apr 2020 23:36:47 -0000
@@ -1,5 +1,8 @@
 # $OpenBSD: Makefile,v 1.7 2019/07/12 20:46:23 sthen Exp $
 
+# colors are off on big endian architectures
+NOT_FOR_ARCHS =        ${BE_ARCHS}
+
 V =            20171127
 COMMENT =      Postal 1, the non-stop killing isometric shooter game
 DISTNAME =     postal-1-open-source-${V}
@@ -25,7 +28,7 @@ LIB_DEPENDS = devel/sdl2
 USE_GMAKE =    Yes
 MAKE_FILE =    makefile
 MAKE_FLAGS =   CC="${CC}" CXX="${CXX}" LINKER="${CXX}" \
-               LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
+               LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib" 
 
 NO_TEST =      Yes

Reply via email to