| @@ -1,35 +1,35 @@ | | | @@ -1,35 +1,35 @@ |
1 | # $NetBSD: Makefile,v 1.70 2011/07/20 14:10:09 riastradh Exp $ | | 1 | # $NetBSD: Makefile,v 1.71 2011/07/28 07:50:05 minskim Exp $ |
2 | | | 2 | |
3 | PKG_DESTDIR_SUPPORT= user-destdir | | 3 | PKG_DESTDIR_SUPPORT= user-destdir |
4 | | | 4 | |
5 | .include "Makefile.common" | | 5 | .include "Makefile.common" |
6 | | | 6 | |
7 | CONFIGURE_ARGS+= -no-tk | | 7 | CONFIGURE_ARGS+= -no-tk |
8 | CONFIGURE_ARGS+= -cc ${CC} | | 8 | CONFIGURE_ARGS+= -cc ${CC} |
9 | CONFIGURE_ENV+= disable_x11=yes | | 9 | CONFIGURE_ENV+= disable_x11=yes |
10 | | | 10 | |
11 | BUILD_TARGET= world | | 11 | BUILD_TARGET= world |
12 | MAKE_JOBS_SAFE= no | | 12 | MAKE_JOBS_SAFE= no |
13 | UNLIMIT_RESOURCES= stacksize | | 13 | UNLIMIT_RESOURCES= stacksize |
14 | | | 14 | |
15 | ### | | 15 | ### |
16 | ### PLIST components | | 16 | ### PLIST components |
17 | ### | | 17 | ### |
18 | | | 18 | |
19 | # Stub libraries for functions missing from base system. | | 19 | # Stub libraries for functions missing from base system. |
20 | .if !empty(MACHINE_PLATFORM:MDarwin-*-powerpc) || \ | | 20 | .if !empty(MACHINE_PLATFORM:MDarwin-*-powerpc) || \ |
21 | !empty(MACHINE_PLATFORM:MDarwin-9.*-i386) || \ | | 21 | !empty(MACHINE_PLATFORM:MDarwin-9.*-i386) || \ |
22 | !empty(MACHINE_PLATFORM:MDarwin-10.*-x86_64) || \ | | 22 | !empty(MACHINE_PLATFORM:MDarwin-1[0-9].*-x86_64) || \ |
23 | ${OPSYS} == "DragonFly" || ${OPSYS} == "NetBSD" || \ | | 23 | ${OPSYS} == "DragonFly" || ${OPSYS} == "NetBSD" || \ |
24 | ${OPSYS} == "FreeBSD" || ${OPSYS} == "SunOS" || \ | | 24 | ${OPSYS} == "FreeBSD" || ${OPSYS} == "SunOS" || \ |
25 | ${OPSYS} == "Linux" | | 25 | ${OPSYS} == "Linux" |
26 | PLIST_SRC+= ${PKGDIR}/PLIST.stub | | 26 | PLIST_SRC+= ${PKGDIR}/PLIST.stub |
27 | .endif | | 27 | .endif |
28 | | | 28 | |
29 | # Optional components built only on certain platforms. | | 29 | # Optional components built only on certain platforms. |
30 | .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ | | 30 | .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ |
31 | (${MACHINE_ARCH} == "arm") || \ | | 31 | (${MACHINE_ARCH} == "arm") || \ |
32 | (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64") | | 32 | (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64") |
33 | BUILD_TARGET+= opt opt.opt | | 33 | BUILD_TARGET+= opt opt.opt |
34 | PLIST_SRC+= ${PKGDIR}/PLIST.opt | | 34 | PLIST_SRC+= ${PKGDIR}/PLIST.opt |
35 | . if empty(MACHINE_PLATFORM:MDarwin-*-powerpc) && \ | | 35 | . if empty(MACHINE_PLATFORM:MDarwin-*-powerpc) && \ |