Changeset View
Changeset View
Standalone View
Standalone View
emulators/qemu/Makefile
Show First 20 Lines • Show All 143 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}/texi2pod.pl | ${WRKSRC}/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 | |||||
post-install: | post-install: | ||||
@${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 | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |