$NetBSD: patch-ab,v 1.3 2006/03/23 16:53:28 joerg Exp $ --- Makefile.orig 2005-05-01 20:30:35.000000000 +0000 +++ Makefile @@ -23,7 +23,7 @@ SBINDIR=$(PREFIX)/sbin MANDIR=$(PREFIX)/share/man CC=gcc -CFLAGS=-W -Wall -O -g '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags) +CFLAGS=-W -Wall -O -g '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags) -DPKG_SYSCONFDIR=\"${PKG_SYSCONFDIR}\" LDFLAGS=-g $(shell libgcrypt-config --libs) ifeq ($(shell uname -s), Linux) @@ -33,6 +33,10 @@ ifeq ($(shell uname -s), FreeBSD) CFLAGS += -DSOCKADDR_IN_SIN_LEN -DHAVE_SA_LEN SYSDEP=sysdep-bsd.o endif +ifeq ($(shell uname -s), DragonFly) +CFLAGS += -DSOCKADDR_IN_SIN_LEN -DHAVE_SA_LEN +SYSDEP=sysdep-bsd.o +endif ifeq ($(shell uname -s), NetBSD) CFLAGS += -DSOCKADDR_IN_SIN_LEN -DHAVE_SA_LEN SYSDEP=sysdep-bsd.o