diff options
author | dinoex <dinoex@FreeBSD.org> | 2011-12-24 18:51:35 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2011-12-24 18:51:35 +0800 |
commit | 4ceb686752fc1d0a8f30973c2de145afc0b0b300 (patch) | |
tree | bce54cec24752f47719893c1e71cd55a422c62e6 /ftp/vsftpd | |
parent | 0fcb365bfc3b62447f0543c9306e0d7990b5ae9c (diff) | |
download | freebsd-ports-gnome-4ceb686752fc1d0a8f30973c2de145afc0b0b300.tar.gz freebsd-ports-gnome-4ceb686752fc1d0a8f30973c2de145afc0b0b300.tar.zst freebsd-ports-gnome-4ceb686752fc1d0a8f30973c2de145afc0b0b300.zip |
- remove duplicate -lwrap
- drop usage of -lutil
- honor INSTALL_PROGRAM
PR: 163550
Diffstat (limited to 'ftp/vsftpd')
-rw-r--r-- | ftp/vsftpd/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftp/vsftpd/Makefile b/ftp/vsftpd/Makefile index bf112a31b176..d32a9f501da2 100644 --- a/ftp/vsftpd/Makefile +++ b/ftp/vsftpd/Makefile @@ -23,8 +23,6 @@ DOCFILES= AUDIT BENCHMARKS BUGS Changelog FAQ INSTALL LICENSE \ README README.security README.ssl REFS REWARD \ SIZE SPEED TODO TUNING -LDFLAGS+= -lwrap - OPTIONS= RC_NG "install RC_NG script" off \ VSFTPD_SSL "Include support for SSL" off \ PIDFILE "unofficial support for pidfile" off @@ -52,8 +50,10 @@ do-configure: ${REINPLACE_CMD} \ -e "s|^CC = gcc|CC = ${CC}|" \ -e "s|^CFLAGS =|CFLAGS = ${CFLAGS}|" \ + -e "s|^INSTALL =|INSTALL = ${INSTALL_PROGRAM}|" \ -e "s| -Wl,-s| -Wl,-s ${LDFLAGS}|" \ ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e '/-lutil/d' ${WRKSRC}/vsf_findlibs.sh ${REINPLACE_CMD} -e \ "s|#undef VSF_BUILD_TCPWRAPPERS|#define VSF_BUILD_TCPWRAPPERS 1|" \ ${WRKSRC}/builddefs.h |