1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00

audio/abgate-lv2: Switch to Qt5

The project has officially switched to Qt5 in the last revision, but old
qmake was still accidentally used. Now this is fixed.
This commit is contained in:
Yuri Victorovich 2018-05-30 06:33:30 +00:00
parent ecd94a9d64
commit 71eb5a6f2d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=471119

View File

@ -3,6 +3,7 @@
PORTNAME= abGate
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.9
PORTREVISION= 1
CATEGORIES= audio
PKGNAMESUFFIX= -lv2
@ -18,7 +19,8 @@ USES= gmake pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= antanasbruzas
USE_CXXSTD= c++11
USE_QT4= corelib gui moc_build rcc_build qmake_build uic_build
USE_QT5= core gui widgets buildtools_build qmake_build
USE_GL= gl
USE_GNOME= atkmm gtk20 gtkmm24 libsigc++20
USE_LDCONFIG= yes
@ -28,7 +30,7 @@ post-patch:
s|g++|$$(CXX)|; \
s|CPPFLAGS|CXXFLAGS|; \
s| -g -O3||; \
s|cd abGateQt; qmake; make|cd abGateQt; qmake \&\& $$(MAKE)|' \
s|cd abGateQt; qmake; make|cd abGateQt; $(QMAKE) \&\& $$(MAKE)|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -E ' \
s|^QMAKE_CXXFLAGS (.*)|QMAKE_CXXFLAGS = ${CXXFLAGS}|; \