blob: 38ad18ff64a947b6e492559b1765d5f9ea732315 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$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
|