aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2012-07-27 00:18:08 +0800
committerdinoex <dinoex@FreeBSD.org>2012-07-27 00:18:08 +0800
commit104544acb226daf30324ede2c254f70b821467c9 (patch)
tree87f9c479207b4506ce494ff8355ac07e517f442b
parentfca2a4b7634761a524acadcbab84d09246145904 (diff)
downloadfreebsd-ports-gnome-104544acb226daf30324ede2c254f70b821467c9.tar.gz
freebsd-ports-gnome-104544acb226daf30324ede2c254f70b821467c9.tar.zst
freebsd-ports-gnome-104544acb226daf30324ede2c254f70b821467c9.zip
- Fix pass -rpath from compiler to linker
PR: 170101 Submitted by: Hung-te Liang
-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" >> \