1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

- remove duplicate -lwrap

- drop usage of -lutil
- honor INSTALL_PROGRAM
PR:		163550
This commit is contained in:
Dirk Meyer 2011-12-24 10:51:35 +00:00
parent bc2e3b2b75
commit 18da5070d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287964

View File

@ -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