1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

get rid of libgnugetopt dependency for -CURRENT.

configure script tests getopt_long() but does not use its result;
getopt.o and getopt1.o will always be linked. So libgnugetopt
dependency is just redundant.
This commit is contained in:
FUJISHIMA Satsuki 2003-07-14 02:36:46 +00:00
parent bb5a27fdce
commit b53baaf9b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84829

View File

@ -10,6 +10,7 @@
PORTNAME= filtermail
PORTVERSION= 0.2.4
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://home.in.tum.de/baueran/%SUBDIR%/
@ -20,12 +21,12 @@ MAINTAINER= harry_newton@telinco.co.uk
COMMENT= Filter mail on a pop3 server: saves downloading spam
LIB_DEPENDS= intl:${PORTSDIR}/devel/gettext \
iconv:${PORTSDIR}/converters/libiconv \
gnugetopt:${PORTSDIR}/devel/libgnugetopt
iconv:${PORTSDIR}/converters/libiconv
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_GMAKE= yes
MAN1= filtermail.1
@ -42,7 +43,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile (bad C++ code)"
BROKEN= "Does not compile (bad C++ code)"
.endif
.include <bsd.port.post.mk>