aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/proftpd/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-05-27 02:39:15 +0800
committerpav <pav@FreeBSD.org>2006-05-27 02:39:15 +0800
commitf37fa2eff124b94d46142a11cd5286b5608da4d6 (patch)
tree6bdbf500d5146b3379fb9d355d78423beeebf185 /ftp/proftpd/Makefile
parentf63bde5f7b7765fdf0ca09194d726620f708548e (diff)
downloadfreebsd-ports-gnome-f37fa2eff124b94d46142a11cd5286b5608da4d6.tar.gz
freebsd-ports-gnome-f37fa2eff124b94d46142a11cd5286b5608da4d6.tar.zst
freebsd-ports-gnome-f37fa2eff124b94d46142a11cd5286b5608da4d6.zip
- Fix build on FreeBSD 4.X
PR: ports/97674 Submitted by: Beech Rintoul <beech@mangohealth.org> (maintainer)
Diffstat (limited to 'ftp/proftpd/Makefile')
-rw-r--r--ftp/proftpd/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index 4147ba2b4386..080195355a9b 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -58,9 +58,9 @@ MODULES?=
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
-.if exists (${LOCALBASE}/include/getopt.h)
-BROKEN= Does not build when libgnugetopt is installed
-.endif
+CONFIGURE_ARGS+= --without-getopt
+EXTRA_PATCHES= ${FILESDIR}/extra_patch-configure.in
+USE_AUTOTOOLS= autoconf:259
.endif
.if !defined(WITHOUT_RATIO)
@@ -133,7 +133,7 @@ USE_OPENSSL= yes
PROFTPD_LIBS+= -lssl -lcrypto -L${LOCALBASE}/lib
MODULES:=${MODULES}:mod_tls
.if defined(WITH_LDAP_TLS)
-EXTRA_PATCHES=${FILESDIR}/extra_patch-ldap-tls-mod_ldap.c
+EXTRA_PATCHES+= ${FILESDIR}/extra_patch-ldap-tls-mod_ldap.c
.endif
.endif