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)
This commit is contained in:
parent
912510dcc6
commit
90688185cd
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user