mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
Fix build error of uim-qt on 6-stable.
Reported by: Dan Reinholz <xaenn@yahoo.com>
This commit is contained in:
parent
d28a06eb40
commit
3f90fed2bb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168547
@ -16,8 +16,10 @@ MASTERDIR= ${.CURDIR}/../../textproc/uim
|
||||
PKGDIR= ${.CURDIR}
|
||||
CONFIGURE_ARGS= --with-qt
|
||||
CONFIGURE_ENV= QTDIR=${X11BASE}/lib QTINCDIR=${X11BASE}/include \
|
||||
CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS} -I${X11BASE}/include" LIBS="${LIBS} ${PTHREAD_LIBS} -L${X11BASE}/lib"
|
||||
|
||||
CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
||||
CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" \
|
||||
LIBS="${LIBS} ${PTHREAD_LIBS} -L${X11BASE}/lib -L${LOCALBASE}/lib" \
|
||||
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS} -L${X11BASE}/lib -L${LOCALBASE}/lib"
|
||||
UIM_SLAVE= yes
|
||||
|
||||
# This is normally handled by defining USE_QT_VER ...
|
||||
|
@ -39,7 +39,7 @@ CONFIGURE_ARGS+= --with-gtk2
|
||||
CONFIGURE_ARGS+= --enable-emacs
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
||||
CONFIGURE_ENV?= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
|
||||
|
||||
.if !defined(UIM_SLAVE)
|
||||
|
Loading…
Reference in New Issue
Block a user