Fix getpeereid() fallout. header uses #ifdef HAVE_GETPEEREID, but configure

doesn't even check for the function presence. Add -DHAVE_GETPEEREID to
CFLAGS/CXXFLAGS in MAKE_FLAGS to fix it.
This commit is contained in:
landry 2010-07-09 06:01:07 +00:00
parent f6a2a693a6
commit 1fa1c032da

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2010/04/26 20:09:18 steven Exp $
# $OpenBSD: Makefile,v 1.8 2010/07/09 06:01:07 landry Exp $
COMMENT= anti-spam SMTP server
DISTNAME= avenger-0.7.4
@ -29,6 +29,9 @@ CONFIGURE_ARGS+= --with-db=${LOCALBASE} \
CONFIGURE_ENV+= WFLAGS="-Wall" \
sfs_cv_dev_random="/dev/arandom"
MAKE_FLAGS+= CFLAGS+=-DHAVE_GETPEEREID \
CXXFLAGS+=-DHAVE_GETPEEREID
FLAVORS= sasl2
FLAVOR?=