Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / skey / hacks.mk
blobabe74eeef95a6511ab5433a007ef169ecb4729df
1 # $NetBSD: hacks.mk,v 1.3 2008/03/11 18:47:41 tnn Exp $
3 .if !defined(SKEY_HACKS_MK)
4 SKEY_HACKS_MK= # defined
6 ### [Sun Jul 9 13:16:14 CDT 2006 : schwarz]
7 ### pkgsrc expects troff-style man pages on all platforms
8 ###
9 PKG_HACKS+= enforce-troff-style-man-pages
10 # the following line is only to specify mansubdir
11 CONFIGURE_ARGS+= --with-catman=man
12 SUBST_CLASSES+= tsmp
13 SUBST_MESSAGE.tsmp= enforce use of troff style man pages
14 SUBST_STAGE.tsmp= post-patch
15 SUBST_FILES.tsmp= configure
16 SUBST_SED.tsmp= -e 's,$$(CATMAN),$$(TROFFMAN),g'
18 ### [Sun Jul 9 13:20:30 CDT 2006 : schwarz]
19 ### IRIX 5 does not have usleep()
20 ###
21 .if !empty(MACHINE_PLATFORM:MIRIX-5*)
22 PKG_HACKS+= use-sginap-instead-of-usleep
23 SUBST_CLASSES+= sginap
24 SUBST_MESSAGE.sginap= use sginap() instead of usleep()
25 SUBST_STAGE.sginap= post-patch
26 SUBST_FILES.sginap= skeyinit.c skeylogin.c
27 SUBST_SED.sginap= -e 's,usleep(100000),sginap(CLK_TCK/10),g'
28 .endif
30 ### [Sun Jul 9 14:11:23 CDT 2006 : schwarz]
31 ### IRIX 5 does not define 64 bit types in sys/types.h
32 ###
33 .if !empty(MACHINE_PLATFORM:MIRIX-5*)
34 PKG_HACKS+= missing-u_int64_t
35 CPPFLAGS+= -DMISSING_U_INT64_T
36 .endif
38 .endif