ports/171386: [PATCH] ftp/vsftpd: removea the unnecessary "-Wl"

Hung-Te Liang lhd at cs.nctu.edu.tw
Fri Sep 7 02:23:41 UTC 2012


Update:
	Remove -Wl,-s in original $LINK only.


--- /usr/ports/ftp/vsftpd/Makefile	2012-09-06 22:29:59.000000000 +0800
+++ Makefile	2012-09-07 10:09:20.000000000 +0800
@@ -1,9 +1,4 @@
-# New ports collection makefile for: vsftpd
-# Date created:		03 Feb 2001
-# Whom:			Neil Blakey-Milner
-#
 # $FreeBSD: ports/ftp/vsftpd/Makefile,v 1.57 2012/09/06 14:29:59 dinoex Exp $
-#
 
 PORTNAME=	vsftpd
 PORTVERSION=	3.0.0
@@ -72,7 +67,7 @@
 		-e "s|^CC 	=	gcc|CC	= ${CC}|" \
 		-e "s|^CFLAGS	=|CFLAGS	= ${CFLAGS}|" \
 		-e "s|$$(INSTALL) -m 755=|$${INSTALL_PROGRAM}|" \
-		-e "s|	-Wl,-s| -Wl ${LDFLAGS:S/-rpath=/-Wl,-rpath,/g}|" \
+		-e "s|^LINK	=	-Wl,-s|LINK	= ${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" >> \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vsftpd-3.0.0.patch
Type: text/x-diff
Size: 796 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20120907/e4a8d4dd/attachment.patch>


More information about the freebsd-ports-bugs mailing list