aboutsummaryrefslogtreecommitdiff
path: root/ftp/vsftpd
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-07-26 16:18:08 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-07-26 16:18:08 +0000
commitccfa16c5974de774db903e88f667afaa6ea9d0f3 (patch)
tree87f9c479207b4506ce494ff8355ac07e517f442b /ftp/vsftpd
parentcd504b8e7b90965b45fa4b02422ae11b11740bf6 (diff)
downloadports-ccfa16c5974de774db903e88f667afaa6ea9d0f3.tar.gz
ports-ccfa16c5974de774db903e88f667afaa6ea9d0f3.zip
- Fix pass -rpath from compiler to linker
PR: 170101 Submitted by: Hung-te Liang
Notes
Notes: svn path=/head/; revision=301566
Diffstat (limited to 'ftp/vsftpd')
-rw-r--r--ftp/vsftpd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftp/vsftpd/Makefile b/ftp/vsftpd/Makefile
index da53b636545c..dd6feef1545c 100644
--- a/ftp/vsftpd/Makefile
+++ b/ftp/vsftpd/Makefile
@@ -65,7 +65,7 @@ do-configure:
-e "s|^CC = gcc|CC = ${CC}|" \
-e "s|^CFLAGS =|CFLAGS = ${CFLAGS}|" \
-e "s|^INSTALL =|INSTALL = ${INSTALL_PROGRAM}|" \
- -e "s| -Wl,-s| -Wl,-s ${LDFLAGS}|" \
+ -e "s| -Wl,-s| -Wl,-s ${LDFLAGS:S/-rpath=/-Wl,-rpath,/g}|" \
${WRKSRC}/Makefile
${REINPLACE_CMD} -e '/-lutil/d' ${WRKSRC}/vsf_findlibs.sh
@${ECHO_CMD} "secure_chroot_dir=${PREFIX}/share/vsftpd/empty" >> \