blob: f131b9fcc8d729fa8cd32c52ed5065cd5eac74c6 (
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
|
# $NetBSD: Makefile,v 1.50 2006/08/26 15:33:28 joerg Exp $
.include "Makefile.common"
PKGREVISION= 2
CONFIGURE_ARGS+= -no-tk
CONFIGURE_ENV+= disable_x11=yes
BUILD_TARGET= world
###
### PLIST components
###
# Stub libraries for functions missing from base system.
.if ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly" || ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
PLIST_SRC+= ${PKGDIR}/PLIST.stub
.endif
# Optional components built only on certain platforms.
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
(${MACHINE_ARCH} == "sparc")
BUILD_TARGET+= opt opt.opt
PLIST_SRC+= ${PKGDIR}/PLIST.opt
. if empty(MACHINE_PLATFORM:MDarwin-*-*) && \
empty(MACHINE_PLATFORM:MSunOS-*-i386) && \
empty(MACHINE_PLATFORM:MNetBSD-*-sparc)
PLIST_SRC+= ${PKGDIR}/PLIST.prof
. endif
.endif
# Common ocaml files.
PLIST_SRC+= ${PKGDIR}/PLIST
.include "../../mk/bsd.pkg.mk"
|