[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / emulators / qemu

Annotation of pkgsrc/emulators/qemu/Makefile, Revision 1.148.4.1

1.148.4.1! bsiegert    1: # $NetBSD$
1.1       xtraeme     2:
1.148.4.1! bsiegert    3: DISTNAME=      qemu-2.6.0
1.112     adam        4: CATEGORIES=    emulators
                      5: MASTER_SITES=  http://wiki.qemu.org/download/
                      6: EXTRACT_SUFX=  .tar.bz2
                      7:
                      8: MAINTAINER=    pkgsrc-users@NetBSD.org
                      9: HOMEPAGE=      http://www.qemu.org/
                     10: COMMENT=       CPU emulator using dynamic translation
                     11: LICENSE=       gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit AND modified-bsd
1.1       xtraeme    12:
1.42      xtraeme    13: CONFLICTS+=            qemu-bin-[0-9]*
1.125     wiz        14: NOT_FOR_PLATFORM+=     NetBSD-1.[0-6]*-*
1.103     gdt        15: # qemu 1 does not work on NetBSD-5; see http://gnats.netbsd.org/46565.
                     16: # As a workaround, use emulators/qemu0.
1.125     wiz        17: NOT_FOR_PLATFORM+=     NetBSD-5*-*
1.1       xtraeme    18:
1.118     asau       19: USE_TOOLS+=            bison gmake makeinfo perl:build pkg-config
1.115     jnemeth    20: USE_NCURSES=           yes                     # requires resize_term()
1.79      wiz        21: UNLIMIT_RESOURCES=     datasize
1.1       xtraeme    22: HAS_CONFIGURE=         yes
                     23:
1.41      adrianp    24: BUILD_DEPENDS+=                texi2html-[0-9]*:../../textproc/texi2html
                     25:
1.78      wiz        26: .include "options.mk"
                     27:
1.36      xtraeme    28: .include "../../mk/bsd.prefs.mk"
                     29:
1.77      adam       30: CONFIGURE_ARGS+=       --prefix=${PREFIX}
                     31: CONFIGURE_ARGS+=       --interp-prefix=${PREFIX}/share/qemu
                     32: CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
1.91      ryoon      33: CONFIGURE_ARGS+=       --python=${PYTHONBIN}
1.102     shattere   34: CONFIGURE_ARGS+=       --smbd=${PREFIX}/sbin/smbd
1.87      sbd        35: CONFIGURE_ARGS+=       --mandir=${PREFIX}/${PKGMANDIR}
1.114     jnemeth    36: CONFIGURE_ARGS+=       --enable-curses
1.119     hubertf    37: #HF#CONFIGURE_ARGS+=   --disable-fdt                   # HF: build on OS X
1.148.4.1! bsiegert   38: CONFIGURE_ARGS+=       --disable-opengl
1.113     adam       39: CONFIGURE_ENV+=                mansuffix=/${PKGMANDIR}
1.75      jmmv       40:
                     41: PKG_SYSCONFSUBDIR=     qemu
1.1       xtraeme    42:
1.92      sbd        43: REPLACE_PERL+=         scripts/texi2pod.pl
1.41      adrianp    44:
1.146     adam       45: PYTHON_VERSIONS_INCOMPATIBLE=  33 34 35 # not yet ported yet as of 1.7.0
1.122     wiz        46:
1.54      jmmv       47: BUILDLINK_PASSTHRU_DIRS+= /usr/lib
                     48: BUILDLINK_PASSTHRU_RPATHDIRS+= /usr/lib
                     49:
1.49      joerg      50: INSTALLATION_DIRS=     ${PKGMANDIR}/man1 share/doc/qemu
                     51:
1.65      sbd        52: UE_ARCHS+=             alpha arm armeb cris i386 m68k microblaze mips mipsel
1.99      sbd        53: UE_ARCHS+=             or32 ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus
1.139     ryoon      54: UE_ARCHS+=             sparc64 x86_64 microblazeel s390x unicore32
1.65      sbd        55:
1.76      tsutsui    56: .if ${OPSYS} == "NetBSD"
1.97      adam       57: .  if (!empty(OS_VERSION:M5.99.*) || !empty(OS_VERSION:M[6-9].*))
1.76      tsutsui    58: # XXX
                     59: # i386 and x86_64 user emul require newer binutils for PROVIDE_HIDDEN()
                     60: # http://git.qemu.org/qemu.git/commit/?id=845f2c2812d9ed24b36c02a3d06ee83aeafe8b49
                     61: # but binutils-2.19 was enabled around 5.99.22:
                     62: # http://cvsweb.NetBSD.org/bsdweb.cgi/src/share/mk/bsd.own.mk#rev1.594
                     63: USER_EMUL=             i386 x86_64 sparc sparc64
1.97      adam       64: .  else
1.76      tsutsui    65: CONFIGURE_ARGS+=       --disable-bsd-user
                     66: USER_EMUL=
1.97      adam       67: .  endif
1.76      tsutsui    68: PLIST.nbd=             YES
                     69: .elif !empty(OPSYS:M*BSD) || !empty(OPSYS:MDragonFly)
1.65      sbd        70: USER_EMUL=             i386 x86_64 sparc sparc64
1.74      tsutsui    71: PLIST.nbd=             YES
1.65      sbd        72: .elif !empty(OPSYS:MDarwin)
1.77      adam       73: USER_EMUL=
                     74: CONFIGURE_ARGS+=       --disable-bsd-user
                     75: PLIST.nbd=             YES
1.67      tsutsui    76: .elif !empty(OPSYS:MLinux)
1.65      sbd        77: USER_EMUL=             ${UE_ARCHS}
1.67      tsutsui    78: PLIST.nbd=             YES
1.116     jperkin    79: .elif !empty(MACHINE_PLATFORM:MSunOS-5.11-*)
                     80: PLIST.nbd=             YES
1.134     wiedi      81: CONFIGURE_ARGS+=       --disable-coroutine-pool
1.65      sbd        82: .endif
                     83:
1.148     ryoon      84: PLIST_VARS+=           ${UE_ARCHS} nbd ivshmem
1.65      sbd        85: .for _var_ in ${USER_EMUL}
1.67      tsutsui    86: PLIST.${_var_}=                YES
1.65      sbd        87: .endfor
                     88:
1.18      hubertf    89: post-install:
1.49      joerg      90:        ${INSTALL_DATA} ${FILESDIR}/Makefile.multinode-NetBSD \
                     91:                ${DESTDIR}${PREFIX}/share/doc/qemu/
1.41      adrianp    92:
1.77      adam       93: # On Darwin, qemu uses Cocoa and CoreAudio
                     94: .if empty(OPSYS:MDarwin)
                     95: .include "../../mk/oss.buildlink3.mk"
                     96: .endif
1.81      ryoon      97: .include "../../devel/glib2/buildlink3.mk"
1.114     jnemeth    98: .include "../../devel/ncurses/buildlink3.mk"
1.68      tnn        99: .include "../../devel/zlib/buildlink3.mk"
1.81      ryoon     100: .include "../../lang/python/extension.mk"
1.147     ryoon     101: .include "../../security/libgcrypt/buildlink3.mk"
1.106     wiz       102: .include "../../x11/pixman/buildlink3.mk"
1.2       xtraeme   103: .include "../../mk/pthread.buildlink3.mk"
1.1       xtraeme   104: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>