Fix build of dtcltiny for sparc64/ld.bfd arches.

ok jca@
This commit is contained in:
kmos 2020-04-13 18:39:34 +00:00
parent eabc229016
commit 64b4d0f0da

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.12 2020/02/03 12:40:23 sebastia Exp $
# $OpenBSD: Makefile,v 1.13 2020/04/13 18:39:34 kmos Exp $
COMMENT = small SRCP client to control digital model trains
EPOCH = 0
DISTNAME = dtcltiny-0.4.5
CATEGORIES = misc x11
REVISION = 0
HOMEPAGE = http://dtcltiny.sourceforge.net/
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
@ -20,9 +21,12 @@ WANTLIB += Qt5Core Qt5Gui Qt5Network Qt5Widgets
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}