2007-07-17 12:56:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.23 2007/07/17 10:56:07 tnn Exp $
|
2002-09-19 03:51:24 +02:00
|
|
|
#
|
2007-02-11 06:21:56 +01:00
|
|
|
# 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]
|
2002-09-19 03:51:24 +02:00
|
|
|
|
2007-04-25 18:38:37 +02:00
|
|
|
DISTNAME= libevent-1.3b
|
2002-09-19 03:51:24 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://monkey.org/~provos/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2002-09-19 03:51:24 +02:00
|
|
|
HOMEPAGE= http://monkey.org/~provos/libevent/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Asynchronous event notification library
|
2002-09-19 03:51:24 +02:00
|
|
|
|
2005-04-04 13:23:03 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-05-19 17:07:22 +02:00
|
|
|
USE_LIBTOOL= yes
|
2004-12-26 02:20:36 +01:00
|
|
|
TEST_TARGET= verify
|
2002-09-19 03:51:24 +02:00
|
|
|
|
2007-02-27 11:38:45 +01:00
|
|
|
LIBS.SunOS+= -lnsl -lresolv
|
|
|
|
|
2007-02-27 12:11:17 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2007-07-17 12:56:07 +02:00
|
|
|
|
|
|
|
# Solaris and HPUX don't have u_intX_t types in <inttypes.h>.
|
|
|
|
.if ${OPSYS} == "SunOS" || ${OPSYS} == "HPUX"
|
|
|
|
CFLAGS+= -Du_int8_t=uint8_t
|
|
|
|
CFLAGS+= -Du_int16_t=uint16_t
|
|
|
|
CFLAGS+= -Du_int32_t=uint32_t
|
|
|
|
|
2007-02-27 12:11:17 +01:00
|
|
|
SUBST_CLASSES+= inttypes
|
|
|
|
SUBST_STAGE.inttypes= post-patch
|
|
|
|
SUBST_FILES.inttypes= event.h
|
|
|
|
SUBST_SED.inttypes= -e "s,u_int8_t,uint8_t,g"
|
|
|
|
SUBST_SED.inttypes+= -e "s,u_int16_t,uint16_t,g"
|
|
|
|
SUBST_SED.inttypes+= -e "s,u_int32_t,uint32_t,g"
|
2007-02-27 11:38:45 +01:00
|
|
|
.endif
|
|
|
|
|
2002-09-19 03:51:24 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|