aboutsummaryrefslogtreecommitdiffstats
path: root/audio/murmur/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/murmur/Makefile')
-rw-r--r--audio/murmur/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/audio/murmur/Makefile b/audio/murmur/Makefile
index 4f96839c3b9..0161e02b0e9 100644
--- a/audio/murmur/Makefile
+++ b/audio/murmur/Makefile
@@ -15,9 +15,11 @@ LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf
USERS= murmur
GROUPS= murmur
-USE_QT4= qmake_build moc_build corelib network xml sql sql-sqlite3_run
+USES= qmake
+USE_QT4= moc_build corelib network xml sql sql-sqlite3_run
CONFIG= no-client
+QMAKE_ARGS= "CONFIG+=${CONFIG}"
USE_RC_SUBR= murmur
SUB_LIST+= USERS="${USERS}" GROUPS="${GROUPS}"
@@ -50,10 +52,6 @@ CONFIG+= no-bonjour
post-patch:
@${ECHO_CMD} 'QMAKE_LFLAGS += -fstack-protector' >> ${WRKSRC}/src/murmur/murmur.pro
-do-configure:
- @cd ${WRKSRC} && ${SETENV} QMAKESPEC=${QMAKESPEC} \
- ${QMAKE} -unix PREFIX=${PREFIX} ${QMAKEFLAGS} main.pro "CONFIG+=${CONFIG}"
-
pre-install:
@${SED} -i '' -e 's|database=.*|database=/var/db/murmur/murmur.sqlite|' ${WRKSRC}/scripts/murmur.ini
@${SED} -i '' -e 's|#pidfile=.*|pidfile=/var/run/murmur/murmur.pid|' ${WRKSRC}/scripts/murmur.ini