opnsense-ports/ftp/tnftpd/files/patch-src-Makefile.am
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

25 lines
483 B
Text

FreeBSD does have support for utmp/utmpx, so include relevant files into
a build.
--- src/Makefile.am.orig 2010-01-04 06:46:29.000000000 +0100
+++ src/Makefile.am 2010-01-04 06:46:29.000000000 +0100
@@ -7,7 +7,9 @@
conf.c \
ftpd.c \
ftpcmd.y \
- popen.c
+ popen.c \
+ logutmp.c \
+ logwtmp.c
AM_CPPFLAGS = \
-DHAVE_TNFTPD_H=1 \
@@ -45,8 +47,6 @@
extern.h \
ftpd.conf.manin \
ftpusers.manin \
- logutmp.c \
- logwtmp.c \
pathnames.h \
tnftpd.manin \
version.h