diff options
author | ru <ru@FreeBSD.org> | 2004-02-04 10:05:21 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-02-04 10:05:21 +0000 |
commit | 794727acbed4d3c9bc2e0e3b220d86751f48e343 (patch) | |
tree | 2117f201809e27a5e9c6972708d1c117c438254f /libexec/lukemftpd | |
parent | eeb0cbd8056be08300479732e5fca0c02b8a59fb (diff) | |
download | FreeBSD-src-794727acbed4d3c9bc2e0e3b220d86751f48e343.zip FreeBSD-src-794727acbed4d3c9bc2e0e3b220d86751f48e343.tar.gz |
- Added the NOPAM knob, for consistency with ${.CURDIR}/../ftpd.
- Unbreak -DNOPAM -DNOSHARED build by putting -lmd after -lopie.
(Static build with PAM remains broken.)
Diffstat (limited to 'libexec/lukemftpd')
-rw-r--r-- | libexec/lukemftpd/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/libexec/lukemftpd/Makefile b/libexec/lukemftpd/Makefile index ab3dde2..a4226ac 100644 --- a/libexec/lukemftpd/Makefile +++ b/libexec/lukemftpd/Makefile @@ -26,9 +26,15 @@ CFLAGS+=-I${.CURDIR}/${LSDIR} DPADD+= ${LIBM} LDADD+= -lm -CFLAGS+= -DUSE_OPIE -DUSE_PAM -DPADD+= ${LIBOPIE} ${LIBPAM} -LDADD+= -lopie -lpam +CFLAGS+= -DUSE_OPIE +DPADD+= ${LIBOPIE} ${LIBMD} +LDADD+= -lopie -lmd + +.if !defined(NOPAM) +CFLAGS+= -DUSE_PAM +DPADD+= ${LIBPAM} +LDADD+= ${MINUSLPAM} +.endif CLEANFILES+= ls-unmain.c ls-unmain.c: ls.c |