$NetBSD: patch-ag,v 1.7 2006/01/22 01:31:43 joerg Exp $ --- kphone/Makefile.in.orig 2005-06-22 09:37:20.000000000 +0100 +++ kphone/Makefile.in 2005-11-24 16:59:45.000000000 +0000 @@ -6,7 +6,7 @@ exec_prefix=@exec_prefix@ SHARE_DIR=@datadir@/apps/kphone BIN_DIR=@bindir@ -MOREDEFS=-DSHARE_DIR=\"$(SHARE_DIR)\" -DPO_DIR=\"${prefix}/share/kphone/translations//\" +MOREDEFS=-DSHARE_DIR=\"$(SHARE_DIR)\" -DPO_DIR=\"${prefix}/share/kphone/translations//\" -DDEVOSSAUDIO=\"$(DEVOSSAUDIO)\" ifeq (@ENABLE_SRTP@,yes) CFLAGS=-I/usr/local/include/srtp -I- @CFLAGS@ -I. -I../gsm -I../ilbc -I../dissipate2 @DEFS@ $(MOREDEFS) @@ -15,9 +15,12 @@ CFLAGS=@CFLAGS@ -I. -I../gsm -I../ilbc - endif CXXFLAGS=$(CFLAGS) ifeq (@ENABLE_SRTP@,yes) -LIBS=@LIBS@ -lssl -lcrypto -lresolv -lsrtp @LIBJACK@ @LIBALSA@ +LIBS=@LIBS@ -lssl -lcrypto -lsrtp @LIBJACK@ @LIBALSA@ else -LIBS=@LIBS@ -lssl -lcrypto -lresolv @LIBJACK@ @LIBALSA@ +LIBS=@LIBS@ -lssl -lcrypto @LIBJACK@ @LIBALSA@ +endif +ifneq (${OPSYS},DragonFly) +LIBS+= -lresolv endif LDFLAGS=@LDFLAGS@ -g