diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-05-31 12:20:20 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-05-31 12:20:20 +0800 |
commit | 12629a100548e54ec3cd2c38e567c63d5cde17e2 (patch) | |
tree | d49f21c029456a7e1c3a9328eddc6dce4d5a3a36 /audio/amarok-kde4 | |
parent | 4d9317e3122e6130035a268a9e5ea3aee640f807 (diff) | |
download | freebsd-ports-gnome-12629a100548e54ec3cd2c38e567c63d5cde17e2.tar.gz freebsd-ports-gnome-12629a100548e54ec3cd2c38e567c63d5cde17e2.tar.zst freebsd-ports-gnome-12629a100548e54ec3cd2c38e567c63d5cde17e2.zip |
Don't use hardcoded LOCALBASE=/usr/local path in cmake find macros --> fix
build with custom LOCALBASE.
Submitted by: maintainer
Reported by: QATty
Diffstat (limited to 'audio/amarok-kde4')
-rw-r--r-- | audio/amarok-kde4/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/amarok-kde4/Makefile b/audio/amarok-kde4/Makefile index 23e8084f2c9a..f7f964236fd4 100644 --- a/audio/amarok-kde4/Makefile +++ b/audio/amarok-kde4/Makefile @@ -67,6 +67,8 @@ PLIST_SUB+= LOUDMOUTH="@comment " .endif post-extract: + ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ + ${WRKSRC}/cmake/modules/FindMySQLAmarok.cmake ${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \ ${WRKSRC}/cmake/modules/FindIpod.cmake \ ${WRKSRC}/cmake/modules/FindLoudmouth.cmake \ |