From 90688185cda3dcfc454cbb74fc142306e5bc686d Mon Sep 17 00:00:00 2001 From: espie Date: Sun, 29 Dec 2002 19:24:53 +0000 Subject: [PATCH] Add a knob so that user may choose to not override UIC. Useful when configure scripts know better (like recent kde script, which needs to pass specific -L options through) --- x11/qt3/files/qt3.port.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/x11/qt3/files/qt3.port.mk b/x11/qt3/files/qt3.port.mk index 1a842f7383b..ca3ee1ac84e 100644 --- a/x11/qt3/files/qt3.port.mk +++ b/x11/qt3/files/qt3.port.mk @@ -1,4 +1,4 @@ -# $OpenBSD: qt3.port.mk,v 1.2 2002/03/05 14:46:32 espie Exp $ +# $OpenBSD: qt3.port.mk,v 1.3 2002/12/29 19:24:53 espie Exp $ # This fragment uses MODQT_* variables to make it easier to substitute # qt1/qt2/qt3 in a port. @@ -8,11 +8,15 @@ MODQT_LIBDIR= ${LOCALBASE}/lib/qt3 MODQT_INCDIR= ${LOCALBASE}/include/X11/qt3 MODQT_MOC= ${LOCALBASE}/bin/moc3 MODQT_UIC= ${LOCALBASE}/bin/uic3 +MODQT_OVERRIDE_UIC?=Yes MODQT_CONFIGURE_ARGS= --with-qt-includes=${MODQT_INCDIR} \ --with-qt-libraries=${MODQT_LIBDIR} -_MODQT_SETUP= MOC=${MODQT_MOC} UIC=${MODQT_UIC} \ +_MODQT_SETUP= MOC=${MODQT_MOC} \ MODQT_INCDIR=${MODQT_INCDIR} \ MODQT_LIBDIR=${MODQT_LIBDIR} +.if ${MODQT_OVERRIDE_UIC:L} == "yes" +_MODQT_SETUP+= UIC=${MODQT_UIC} +.endif CONFIGURE_ENV+= ${_MODQT_SETUP} MAKE_ENV+= ${_MODQT_SETUP}