Unbreak build if no quazip qt4 is installed
Include headers from quazip5 and not quazip. Spodded by ajacoutot@ in a bulk build. Thanks!
This commit is contained in:
parent
f52b797047
commit
b330585c2f
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2018/09/06 16:20:52 rsadowski Exp $
|
||||
# $OpenBSD: Makefile,v 1.19 2018/09/08 06:56:45 rsadowski Exp $
|
||||
|
||||
COMMENT = small and fast Qt image viewer
|
||||
|
||||
@ -41,4 +41,8 @@ CONFIGURE_ARGS = -DUSE_SYSTEM_QUAZIP:Bool=ON \
|
||||
|
||||
WRKDIST = ${WRKDIR}/${PKGNAME}/ImageLounge
|
||||
|
||||
pre-configure:
|
||||
find ${WRKSRC} -type f -name "*.cpp" -exec \
|
||||
sed -i 's,#include <quazip/JlCompress.h>,#include <quazip5/JlCompress.h>,' {} \;
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user