blob: afee40d36b2e7e2efe54603a199bcbb7db06fe5f (
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
46
47
48
49
50
51
52
53
54
55
56
|
# $NetBSD: Makefile,v 1.36 2004/04/18 05:33:14 snj Exp $
DISTNAME= ClanLib-0.4.4
PKGREVISION= 5
CATEGORIES= graphics games devel x11
MASTER_SITES= http://dark.x.dtu.dk/~mbn/clanlib/download/
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.clanlib.org/
COMMENT= The ClanLib Game SDK
USE_BUILDLINK3= yes
USE_X11BASE= yes
USE_GNU_TOOLS+= make
GNU_CONFIGURE= yes
PTHREAD_OPTS+= require
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+= --enable-asm386
.else
CONFIGURE_ARGS+= --disable-asm386
.endif
CONFIGURE_ARGS+= --enable-libpng
CONFIGURE_ARGS+= --enable-clansound
CONFIGURE_ARGS+= --enable-dyn
CONFIGURE_ARGS+= --enable-network
CONFIGURE_ARGS+= --enable-mesa
CONFIGURE_ARGS+= --disable-ggi
CONFIGURE_ARGS+= --disable-vidmode
CONFIGURE_ENV+= perl_exec="${PERL5}"
CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}"
MAKE_ENV+= X11BASE="${X11BASE}"
.include "../../mk/bsd.prefs.mk"
post-patch:
${CHMOD} +x ${WRKSRC}/configure
.include "../../graphics/hermes/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
.if ${OPSYS} == "NetBSD"
BROKEN_LIBZ!=${AR} t /usr/lib/libz.a | ${GREP} -w example.o || ${ECHO} "false"
.if !empty(BROKEN_LIBZ:Mexample.o)
BROKEN= "Update to NetBSD 1.4.1, or recompile /usr/lib/libz without example.c"
.endif
.endif
|