blob: 1bc9a5dd816873f1bb6bdaf74bd8d3e9d2e8c18a (
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
|
# $NetBSD: Makefile,v 1.2 2000/10/15 07:39:43 wulf Exp $
#
DISTNAME= SDL-1.1.5
CATEGORIES= devel games
MASTER_SITES= http://www.libsdl.org/release/
MAINTAINER= wiz@netbsd.org
HOMEPAGE= http://www.libsdl.org/
BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf
BUILD_DEPENDS+= ${LOCALBASE}/bin/automake:../../devel/automake
DEPENDS+= pth>=1.3.5:../../devel/pth
#DEPENDS+= unproven-pthreads>=0.16
DEPENDS+= Mesa-*:../../graphics/Mesa
DEPENDS+= esound>=0.2.18:../../audio/esound
GNU_CONFIGURE= YES
USE_GMAKE= YES
USE_X11= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
LDFLAGS+= -Wl,-R${X11BASE}/lib
#CC= ${LOCALBASE}/pthreads/bin/pgcc
pre-patch:
cd ${WRKSRC} && ${MKDIR} src/audio/netbsd
post-patch:
cd ${WRKSRC} && autoconf
post-configure:
cd ${WRKSRC}/src/audio && ${CP} *.[ch] netbsd/
.include "../../mk/bsd.pkg.mk"
|