Add -DLBL_ALIGN to handle architectures that need memory alignment.
This commit is contained in:
parent
3c7ab5dc3a
commit
1773ee5638
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.10 1997/10/25 06:58:49 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.11 1998/02/01 13:46:53 christos Exp $
|
||||
|
||||
PROG= tcpdump
|
||||
MAN= tcpdump.8
|
||||
@ -7,7 +7,7 @@ CPPFLAGS+=-DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MEMORY_H=1
|
||||
CPPFLAGS+=-DTIME_WITH_SYS_TIME=1 -DHAVE_NET_SLIP_H=1 -DHAVE_VFPRINTF=1
|
||||
CPPFLAGS+=-DHAVE_STRCASECMP=1 -DHAVE_ETHER_NTOA=1 -DHAVE_SETLINEBUF=1
|
||||
CPPFLAGS+=-DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGACTION=1
|
||||
CPPFLAGS+=-DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_FDDI
|
||||
CPPFLAGS+=-DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_FDDI -DLBL_ALIGN
|
||||
|
||||
LDADD+= -lpcap -ll
|
||||
DPADD+= ${LIBPCAP} ${LIBL}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/local/bin/perl
|
||||
#
|
||||
# $NetBSD: tcpd2netbsd,v 1.2 1997/10/25 06:58:50 lukem Exp $
|
||||
# $NetBSD: tcpd2netbsd,v 1.3 1998/02/01 13:46:54 christos Exp $
|
||||
#
|
||||
# Perl script to convert a standard distribution directory for tcpdump into
|
||||
# a NetBSD source tree.
|
||||
@ -275,7 +275,7 @@ CPPFLAGS+=-DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MEMORY_H=1
|
||||
CPPFLAGS+=-DTIME_WITH_SYS_TIME=1 -DHAVE_NET_SLIP_H=1 -DHAVE_VFPRINTF=1
|
||||
CPPFLAGS+=-DHAVE_STRCASECMP=1 -DHAVE_ETHER_NTOA=1 -DHAVE_SETLINEBUF=1
|
||||
CPPFLAGS+=-DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGACTION=1
|
||||
CPPFLAGS+=-DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_FDDI
|
||||
CPPFLAGS+=-DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_FDDI -DLBL_ALIGN
|
||||
|
||||
LDADD+= -lpcap -ll
|
||||
DPADD+= ${LIBPCAP} ${LIBL}
|
||||
|
Loading…
Reference in New Issue
Block a user