Changeset View
Changeset View
Standalone View
Standalone View
head/emulators/qemu-sbruno/Makefile
| Show First 20 Lines • Show All 274 Lines • ▼ Show 20 Lines | .endif | ||||
| @${REINPLACE_CMD} -E \ | @${REINPLACE_CMD} -E \ | ||||
| -e "s|^(CFLAGS=).*|\1${CFLAGS} -fno-strict-aliasing -I.|" \ | -e "s|^(CFLAGS=).*|\1${CFLAGS} -fno-strict-aliasing -I.|" \ | ||||
| -e "s|^(LDFLAGS=).*|\1${LDFLAGS}|" \ | -e "s|^(LDFLAGS=).*|\1${LDFLAGS}|" \ | ||||
| ${WRKSRC}/Makefile | ${WRKSRC}/Makefile | ||||
| @${REINPLACE_CMD} -E \ | @${REINPLACE_CMD} -E \ | ||||
| -e "1s|^(#! )/usr/bin/perl|\1${PERL}|" \ | -e "1s|^(#! )/usr/bin/perl|\1${PERL}|" \ | ||||
| ${WRKSRC}/scripts/texi2pod.pl | ${WRKSRC}/scripts/texi2pod.pl | ||||
| .if ${OSVERSION} >= 800091 | |||||
| # XXX need to disable usb host code on head while it's not ported to the | # XXX need to disable usb host code on head while it's not ported to the | ||||
| # new usb stack yet | # new usb stack yet | ||||
| post-configure: | post-configure: | ||||
| @${REINPLACE_CMD} -E \ | @${REINPLACE_CMD} -E \ | ||||
| -e "s|^(HOST_USB=)bsd|\1stub|" \ | -e "s|^(HOST_USB=)bsd|\1stub|" \ | ||||
| ${WRKSRC}/config-host.mak | ${WRKSRC}/config-host.mak | ||||
| .endif | |||||
| .if !target(post-install) | .if !target(post-install) | ||||
| post-install: | post-install: | ||||
| .if ${PORT_OPTIONS:MDOCS} | .if ${PORT_OPTIONS:MDOCS} | ||||
| @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) | @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) | ||||
| .endif | .endif | ||||
| ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc | ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc | ||||
| ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc | ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc | ||||
| @(cd ${STAGEDIR}${PREFIX}/etc/qemu && \ | @(cd ${STAGEDIR}${PREFIX}/etc/qemu && \ | ||||
| ${MV} -i target-x86_64.conf target-x86_64.conf.sample) | ${MV} -i target-x86_64.conf target-x86_64.conf.sample) | ||||
| @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* | @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* | ||||
| .endif | .endif | ||||
| .include <bsd.port.mk> | .include <bsd.port.mk> | ||||