aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2013-05-07 09:17:35 +0800
committeravilla <avilla@FreeBSD.org>2013-05-07 09:17:35 +0800
commit92eefd61a1e4004983f2f886d00995f00e5e2cc2 (patch)
tree780ce42558e9e4891bc68b4d4332a6e4375300c5 /comms
parentabbb627dd36c94ca40f3b5303e313ce44737dd66 (diff)
downloadfreebsd-ports-gnome-92eefd61a1e4004983f2f886d00995f00e5e2cc2.tar.gz
freebsd-ports-gnome-92eefd61a1e4004983f2f886d00995f00e5e2cc2.tar.zst
freebsd-ports-gnome-92eefd61a1e4004983f2f886d00995f00e5e2cc2.zip
- Fix plist.
Reported by: QAT
Diffstat (limited to 'comms')
-rw-r--r--comms/py-libimobiledevice/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/comms/py-libimobiledevice/Makefile b/comms/py-libimobiledevice/Makefile
index f8e5ae42a91e..c126d2628b4c 100644
--- a/comms/py-libimobiledevice/Makefile
+++ b/comms/py-libimobiledevice/Makefile
@@ -20,9 +20,9 @@ PLIST= ${.CURDIR}/pkg-plist
BUILD_WRKSRC= ${WRKSRC}/cython
INSTALL_WRKSRC= ${BUILD_WRKSRC}
-PLIST_FILES= ${PYTHON_SITELIBDIR}/imobiledevice.a \
- ${PYTHON_SITELIBDIR}/imobiledevice.la \
- ${PYTHON_SITELIBDIR}/imobiledevice.so
+PLIST_FILES= ${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/imobiledevice.a \
+ ${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/imobiledevice.la \
+ ${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/imobiledevice.so
post-patch:
@${REINPLACE_CMD} -e 's,../src/libimobiledevice.la,${LOCALBASE}/lib/libimobiledevice.la,' \