diff options
author | jgh <jgh@FreeBSD.org> | 2013-10-01 04:20:19 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2013-10-01 04:20:19 +0800 |
commit | 14d872c89de6ffb272ccc7a1f0bf7eca7e90ccbb (patch) | |
tree | 8678fb8d19118b1dd40a46910ebb55eeae403303 /devel | |
parent | 389fa60eb6baf18b3bf5a4966aa7f1c24c93270f (diff) | |
download | freebsd-ports-gnome-14d872c89de6ffb272ccc7a1f0bf7eca7e90ccbb.tar.gz freebsd-ports-gnome-14d872c89de6ffb272ccc7a1f0bf7eca7e90ccbb.tar.zst freebsd-ports-gnome-14d872c89de6ffb272ccc7a1f0bf7eca7e90ccbb.zip |
- fix build on 8.x (thanks kwm@!)
Reported by: pkg-fallout
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libvirt/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/libvirt/Makefile b/devel/libvirt/Makefile index 0a7b762fdd40..fc9f071c791f 100644 --- a/devel/libvirt/Makefile +++ b/devel/libvirt/Makefile @@ -42,8 +42,10 @@ CONFIGURE_ARGS= --without-sasl \ --with-ssh2 # workaround to override pkg-config calls +# random_data fix can be removed when 8.x is eol CONFIGURE_ENV= SSH2_LIBS="-L${LOCALBASE}/lib -lssh2 -lssl" \ - SSH2_CFLAGS="-I${LOCLABASE}/include" + SSH2_CFLAGS="-I${LOCLABASE}/include" \ + ac_cv_type_struct_random_data="" # limit production release x.x.x PORTSCOUT= limit:\d+\.\d+\.\d+$$ @@ -66,6 +68,10 @@ MAN1= virsh.1 virt-pki-validate.1 virt-xml-validate.1 virt-host-validate.1 MAN8= libvirtd.8 virtlockd.8 post-patch: +.if ${OSVERSION} < 900000 + @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||' \ + ${WRKSRC}/configure +.endif @${MV} ${WRKSRC}/daemon/libvirtd.conf ${WRKSRC}/daemon/libvirtd.conf.sample @${REINPLACE_CMD} -e 's|libvirtd\.conf|libvirtd.conf.sample|' \ ${WRKSRC}/daemon/Makefile.in |