diff options
author | scheidell <scheidell@FreeBSD.org> | 2012-07-05 04:50:08 +0800 |
---|---|---|
committer | scheidell <scheidell@FreeBSD.org> | 2012-07-05 04:50:08 +0800 |
commit | ed2b38cf5fbd1ca6ea0e94c59abb529015dc4d71 (patch) | |
tree | f7bbccb46862691c97768258aee48fab245040e2 | |
parent | e87d953fd66a74f3a204d6aea9cc521fa703eac4 (diff) | |
download | freebsd-ports-gnome-ed2b38cf5fbd1ca6ea0e94c59abb529015dc4d71.tar.gz freebsd-ports-gnome-ed2b38cf5fbd1ca6ea0e94c59abb529015dc4d71.tar.zst freebsd-ports-gnome-ed2b38cf5fbd1ca6ea0e94c59abb529015dc4d71.zip |
- 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
-rw-r--r-- | audio/squeezeboxserver/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/audio/squeezeboxserver/Makefile b/audio/squeezeboxserver/Makefile index 7fe1dfe8f176..a1d33083119a 100644 --- a/audio/squeezeboxserver/Makefile +++ b/audio/squeezeboxserver/Makefile @@ -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} |