http://build-failures.rhaalovely.net/sparc64/2020-03-21/misc/dtcltiny.log

This fixes the build of misc/dtcltiny for sparc64 (and, presumably, other
ld.bfd architectures).

Not sure if the REVISION bump is necessary or not...

cc maintainer

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/misc/dtcltiny/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile    3 Feb 2020 12:40:23 -0000       1.12
+++ Makefile    27 Mar 2020 16:26:03 -0000
@@ -5,6 +5,7 @@ COMMENT =               small SRCP client to control 
 EPOCH =                        0
 DISTNAME =             dtcltiny-0.4.5
 CATEGORIES =           misc x11
+REVISION =             0
 
 HOMEPAGE =             http://dtcltiny.sourceforge.net/
 MAINTAINER =           Sebastian Reitenbach <sebas...@openbsd.org>
@@ -20,9 +21,12 @@ WANTLIB +=           Qt5Core Qt5Gui Qt5Network Qt
 
 COMPILER =             base-clang ports-gcc base-gcc
 
+LDFLAGS =              -L${LOCALBASE}/lib \
+                       -L${X11BASE}/lib
+
 USE_GMAKE =            Yes
 CONFIGURE_STYLE =      gnu
-CONFIGURE_ENV =                LDFLAGS=-L${LOCALBASE}/lib 
CFLAGS=-I${LOCALBASE}/include \
+CONFIGURE_ENV =                LDFLAGS="${LDFLAGS}" 
CFLAGS=-I${LOCALBASE}/include \
                        UIC_PATH=${MODQT_UIC}
 CONFIGURE_ARGS =       --with-qt-libraries=${MODQT_LIBDIR} \
                        --with-qt-includes=${MODQT_INCDIR}

Reply via email to