mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Fix build on 6.x after recent Qt4 update
This commit is contained in:
parent
475eda1515
commit
ba07b812a7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239601
@ -25,7 +25,9 @@ GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
INFO= pinentry
|
||||
|
||||
CONFIGURE_ENV+= CFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
|
||||
|
||||
.if !defined(PINENTRY_SLAVE)
|
||||
OPTIONS= NCURSES "Curses frontend" on \
|
||||
@ -56,6 +58,7 @@ BUILD_DEPENDS+= moc-qt4:${PORTSDIR}/devel/qt4-moc
|
||||
LIB_DEPENDS+= QtGui.4:${PORTSDIR}/x11-toolkits/qt4-gui
|
||||
PLIST_SUB+= WITH_QT4=""
|
||||
MOC4= ${LOCALBASE}/bin/moc-qt4
|
||||
LDFLAGS+= ${PTHREAD_LIBS}
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-pinentry-qt4
|
||||
PLIST_SUB+= WITH_QT4="@comment "
|
||||
|
@ -25,4 +25,10 @@ USE_GMAKE= yes
|
||||
USE_AUTOTOOLS= aclocal:19 automake:19 autoconf:262
|
||||
ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 700042
|
||||
QTCFGLIBS+= ${PTHREAD_LIBS}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user