diff --git a/misc/dtcltiny/Makefile b/misc/dtcltiny/Makefile index 53fb55bc4d6..e31798d2e9f 100644 --- a/misc/dtcltiny/Makefile +++ b/misc/dtcltiny/Makefile @@ -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 @@ -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}