blob: 59758054a5568988c6c5cb1013096d94dff5d692 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.68 2006/03/04 21:29:26 jlam Exp $
#
DISTNAME= pth-2.0.0
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=pth/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/pth/pth.html
COMMENT= GNU Portable Thread library
CONFLICTS= pth-current-[0-9]* pth-syscall<1.4.1nb1
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-pthread
CONFIGURE_ARGS+= --with-fdsetsize=1024
#CONFIGURE_ARGS+= --enable-debug
TEST_TARGET= test
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
. if ${MACHINE_ARCH} == "m68k" && (!empty(OS_VERSION:M1.5.[12]*) || !empty(OS_VERSION:M1.[0-4]*))
pre-configure:
@${ECHO} Building without --enable-syscall-hard. lib/18644 needs fixing.
. else
CONFIGURE_ARGS+= --enable-syscall-hard
. endif
.elif ${OPSYS} == "Interix"
CONFIGURE_ENV+= ac_cv_check_nfdstype='unsigned int'
CONFIGURE_ENV+= ac_cv_typedef_nfds_t=no # in <poll.h>, but that's unused
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pth/
cd ${WRKSRC} && ${INSTALL_DATA} ANNOUNCE AUTHORS COPYING HACKING \
NEWS README SUPPORT TESTS THANKS USERS pthread.ps rse-pmt.ps \
${PREFIX}/share/doc/pth/
.include "../../mk/bsd.pkg.mk"
|