1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Fix for mysql50+ [1]

- Remove dependency for p5-Mysql50 (replace with p5-Mysql) [2]

PR:		ports/164177
Reported by:	Daniel Pritts <danno@umich.edu>
Submitted by:	the_mix_room@hotmail.com [1]
Reviewed by:	scheidell@ (me) [2]
Approved by:	The little dancing elves
This commit is contained in:
Michael Scheidell 2012-07-04 20:50:08 +00:00
parent 31ec0f5e13
commit 6a6ae1551b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300491

View File

@ -7,7 +7,7 @@
PORTNAME= squeezeboxserver
PORTVERSION= 7.5.4
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= http://downloads.slimdevices.com/SqueezeboxServer_v${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-noCPAN
@ -30,7 +30,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-32171-noCPAN
RUN_DEPENDS+= p5-DBIx-Class>=0:${PORTSDIR}/databases/p5-DBIx-Class \
p5-File-Which>=0:${PORTSDIR}/sysutils/p5-File-Which \
p5-URI-Find>=0:${PORTSDIR}/textproc/p5-URI-Find \
p5-DBD-mysql50>=0:${PORTSDIR}/databases/p5-DBD-mysql50 \
p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \
p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \
p5-Encode-Detect>=0:${PORTSDIR}/converters/p5-Encode-Detect \
p5-GD>=0:${PORTSDIR}/graphics/p5-GD \
@ -57,7 +57,6 @@ RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
.endif
USE_MYSQL= server
WANT_MYSQL_VER= 50
.if ${PORT_OPTIONS:MAPE}
RUN_DEPENDS+= mac:${PORTSDIR}/audio/mac
@ -173,6 +172,12 @@ post-patch:
-e 's|%%TMP_SLIMDIR%%|${TMP_SLIMDIR}|g' \
${WRKSRC}/scanner.pl \
${WRKSRC}/slimserver.pl
${REINPLACE_CMD} \
-e 's/skip-locking/skip-external-locking/' \
-e 's/default-character-set/character-set-server/'\
-e 's/default-collation/collation-server/' ${WRKSRC}/MySQL/my.tt
${REINPLACE_CMD} \
-e 's/TYPE=InnoDB/ENGINE=InnoDB/' ${WRKSRC}/SQL/mysql/schema_*.sql
do-build:
@${MKDIR} -m 0755 ${TMP_SLIMDIR}