aboutsummaryrefslogtreecommitdiffstats
path: root/www/linux-seamonkey
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2012-06-13 03:45:24 +0800
committerbeat <beat@FreeBSD.org>2012-06-13 03:45:24 +0800
commit0bac18bdce284ff525b8ff3578fa0e3bb681f3bb (patch)
tree046fb45d50d70376f3062b0bbe4f353ff2cde9e0 /www/linux-seamonkey
parent42c5e8a21b51fadf531513875f0018b52069fc2d (diff)
downloadfreebsd-ports-gnome-0bac18bdce284ff525b8ff3578fa0e3bb681f3bb.tar.gz
freebsd-ports-gnome-0bac18bdce284ff525b8ff3578fa0e3bb681f3bb.tar.zst
freebsd-ports-gnome-0bac18bdce284ff525b8ff3578fa0e3bb681f3bb.zip
- Use appropriate variables instead of hard coding a path
- Properly escaple shell variable
Diffstat (limited to 'www/linux-seamonkey')
-rw-r--r--www/linux-seamonkey/Makefile.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/linux-seamonkey/Makefile.common b/www/linux-seamonkey/Makefile.common
index 20843c4f39c6..fc0cf2ca9da6 100644
--- a/www/linux-seamonkey/Makefile.common
+++ b/www/linux-seamonkey/Makefile.common
@@ -54,7 +54,7 @@ do-install:
@${CP} -pR ${WRKSRC}/ ${FDIR}/
@${CHOWN} -R ${BINOWN}:${BINGRP} ${FDIR}/
@${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/${APP_NAME}-run
- @${ECHO_CMD} 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/linux-seamonkey' \
+ @${ECHO_CMD} 'export LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:${PREFIX}/lib/${APP_NAME}' \
>> ${WRKDIR}/${APP_NAME}-run
@${ECHO_CMD} 'exec ${FDIR}/${BIN_NAME} "$$@"' >> ${WRKDIR}/${APP_NAME}-run
@${INSTALL_SCRIPT} ${WRKDIR}/${APP_NAME}-run ${PREFIX}/bin/${APP_NAME}