pkgsrc/devel/libevent/Makefile
2008-04-22 17:25:42 +00:00

36 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.28 2008/04/22 17:25:42 tnn Exp $
#
# WARNING: updating this package (as of the 1.1/1.2 releases) means
# updating BUILDLINK_ABI_DEPENDS in buildlink3.mk and a PKGREVISION
# bump of all first-level dependents. This is because the shlib
# name contains the exact libevent release number, preventing it
# from being ABI compatible across releases until this is fixed.
# [tvierling 20070210]
DISTNAME= libevent-1.4.3-stable
PKGNAME= ${DISTNAME:S/-stable//}
CATEGORIES= devel
MASTER_SITES= http://monkey.org/~provos/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://monkey.org/~provos/libevent/
COMMENT= Asynchronous event notification library
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
TEST_TARGET= verify
PKG_DESTDIR_SUPPORT= user-destdir
LIBS.SunOS+= -lnsl -lresolv
# XXX helps build, but needs more testing
#CFLAGS.Interix+= -Dsockaddr_storage=sockaddr_in -DNI_MAXSERV=32
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MHPUX-11.11-*)
CONFIGURE_ENV+= ac_cv_func_strtoll=yes
CPPFLAGS+= -Dstrtoll=__strtoll
.endif
.include "../../mk/bsd.pkg.mk"