audio/esperanza: Respect CXXFLAGS (PHB 12.9) and friends

The QMAKE_* definitions from USES/qmake.mk didn't get used because this
port has its own configure script.
This commit is contained in:
John Marino 2015-02-25 10:57:04 +00:00
parent 37b65d30ff
commit 7ed27548d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379893

View file

@ -5,7 +5,6 @@ PORTNAME= esperanza
PORTVERSION= 0.4.0.20091017
PORTREVISION= 2
CATEGORIES= audio
#MASTER_SITES= http://exodus.xmms.se/~tru/esperanza/0.4/
MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION:R}+git${PORTVERSION:E}.orig
@ -30,6 +29,10 @@ PLIST_FILES= bin/esperanza
DESKTOP_ENTRIES="Esperanza" "" "" "${PORTNAME}" "Audio;Player;" false
post-patch:
@${ECHO} "QMAKE_LFLAGS= -lX11" >> /${WRKSRC}/src/ui/ui.pro
@${ECHO} "QMAKE_LFLAGS= -lX11" >> ${WRKSRC}/src/ui/ui.pro
@${ECHO} "QMAKE_CC=${CC}" >> ${WRKSRC}/config.pri
@${ECHO} "QMAKE_CXX=${CXX}" >> ${WRKSRC}/config.pri
@${ECHO} "QMAKE_CFLAGS=${CFLAGS}" >> ${WRKSRC}/config.pri
@${ECHO} "QMAKE_CXXFLAGS=${CXXFLAGS}" >> ${WRKSRC}/config.pri
.include <bsd.port.mk>