aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2015-05-05 09:39:59 +0800
committerfeld <feld@FreeBSD.org>2015-05-05 09:39:59 +0800
commit14c23102cf4167e27b4eecd37ba7406c05e845ce (patch)
tree2162d1cfb9840093ebd8b68be6bd71fb06309d0f /audio
parent4c46bde9e7bb40b94dd9bf424e2368e4cf6c7f3c (diff)
downloadfreebsd-ports-gnome-14c23102cf4167e27b4eecd37ba7406c05e845ce.tar.gz
freebsd-ports-gnome-14c23102cf4167e27b4eecd37ba7406c05e845ce.tar.zst
freebsd-ports-gnome-14c23102cf4167e27b4eecd37ba7406c05e845ce.zip
Disable pch to fix building with gcc
Add LICENSE Unmute some of the installation steps
Diffstat (limited to 'audio')
-rw-r--r--audio/murmur/Makefile26
1 files changed, 17 insertions, 9 deletions
diff --git a/audio/murmur/Makefile b/audio/murmur/Makefile
index a55ccdaad813..513e931f8c90 100644
--- a/audio/murmur/Makefile
+++ b/audio/murmur/Makefile
@@ -11,12 +11,14 @@ DISTNAME= mumble-${PORTVERSION}
MAINTAINER= feld@FreeBSD.org
COMMENT= Murmur is the server component of Mumble
+LICENSE= BSD3CLAUSE
+
BUILD_DEPENDS= ${LOCALBASE}/include/boost/function.hpp:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf
USERS= murmur
GROUPS= murmur
-USES= qmake
+USES= compiler qmake
USE_QT4= moc_build corelib network xml sql sql-sqlite3_run
CONFIG= no-client
@@ -50,25 +52,31 @@ LIB_DEPENDS+= libdns_sd.so:${PORTSDIR}/net/mDNSResponder
CONFIG+= no-bonjour
.endif
+.include <bsd.port.pre.mk>
+# PCH is broken on GCC
+.if ${COMPILER_TYPE} == gcc
+CONFIG+= no-pch
+.endif
+
post-patch:
@${ECHO_CMD} 'QMAKE_LFLAGS += -fstack-protector' >> ${WRKSRC}/src/murmur/murmur.pro
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
- @${SED} -i '' -e 's|#logfile=.*|logfile=/var/log/murmur/murmur.log|' ${WRKSRC}/scripts/murmur.ini
- @${SED} -i '' -e 's|#host=.*|host=0.0.0.0|' ${WRKSRC}/scripts/murmur.ini
+ ${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
+ ${SED} -i '' -e 's|#logfile=.*|logfile=/var/log/murmur/murmur.log|' ${WRKSRC}/scripts/murmur.ini
+ ${SED} -i '' -e 's|#host=.*|host=0.0.0.0|' ${WRKSRC}/scripts/murmur.ini
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/release/murmurd ${STAGEDIR}${PREFIX}/sbin
- @${INSTALL_DATA} ${WRKSRC}/scripts/murmur.ini ${STAGEDIR}${PREFIX}/etc/murmur.ini.sample
+ ${INSTALL_PROGRAM} ${WRKSRC}/release/murmurd ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/scripts/murmur.ini ${STAGEDIR}${PREFIX}/etc/murmur.ini.sample
${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1
${CP} ${WRKSRC}/man/murmurd.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in CHANGES INSTALL LICENSE README README.Linux
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>