diff options
author | Clement Laforet <clement@FreeBSD.org> | 2004-04-16 21:46:01 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2004-04-16 21:46:01 +0000 |
commit | 7892f8051f5246f8108f20fc46ff4610efa9808a (patch) | |
tree | 75533d54d597a560971c4f7200cb7a5d76a263b9 /ftp/moftpd | |
parent | fe0a2a18e6ace90ab14f4ed02942bc7e13abb1f2 (diff) |
Notes
Diffstat (limited to 'ftp/moftpd')
-rw-r--r-- | ftp/moftpd/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ftp/moftpd/Makefile b/ftp/moftpd/Makefile index 5379d3b16966..aba61efae4ec 100644 --- a/ftp/moftpd/Makefile +++ b/ftp/moftpd/Makefile @@ -19,7 +19,15 @@ GNU_CONFIGURE= yes USE_OPENSSL= yes USE_GMAKE= yes USE_PERL5_BUILD=yes -CONFIGURE_ENV+= LIBS=-lcrypt +CONFIGURE_ENV+= LIBS="${LIBS}" MAN8= moftpd.8 moftpadmin.8 +LIBS+= -lcrypt + +.if defined(WITH_MYSQL) +CFLAGS+= -I${LOCALBASE}/include +LIBS+= -L${LOCALBASE}/lib/mysql +.else +CONFIGURE_ARGS+= --without-sql +.endif .include <bsd.port.mk> |