3 --- makefiledir/Makefile.libdetection.orig 2004-12-07 23:58:06.000000000 +0600
4 +++ makefiledir/Makefile.libdetection
5 @@ -18,6 +18,11 @@ ifeq ($(shell uname),FreeBSD)
9 +# Automatically recognize if building on NetBSD
10 +ifeq ($(shell uname),NetBSD)
14 # Automatically recognize if building on MacOSX
15 ifeq ($(VENDOR), apple)
17 @@ -75,8 +80,13 @@ ifdef WITH_PNG
22 +# NetBSD uses generic pkg-config instead of libpng-config
23 +WITH_PNG:=$(shell pkg-config --version libpng12 2>/dev/null)
25 WITH_PNG:=$(shell libpng-config --version 2>/dev/null)
30 # LibPNG depends on Zlib