[Midnightbsd-cvs] mports [23440] trunk/devel/qt5-core/Makefile: tweak
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed May 9 09:09:54 EDT 2018
Revision: 23440
http://svnweb.midnightbsd.org/mports/?rev=23440
Author: laffer1
Date: 2018-05-09 09:09:53 -0400 (Wed, 09 May 2018)
Log Message:
-----------
tweak
Modified Paths:
--------------
trunk/devel/qt5-core/Makefile
Modified: trunk/devel/qt5-core/Makefile
===================================================================
--- trunk/devel/qt5-core/Makefile 2018-05-09 13:05:03 UTC (rev 23439)
+++ trunk/devel/qt5-core/Makefile 2018-05-09 13:09:53 UTC (rev 23440)
@@ -12,8 +12,8 @@
LICENSE= gpl3
-LIB_DEPENDS= libicui18n.so:${PORTSDIR}/devel/icu \
- libpcre.so:${PORTSDIR}/devel/pcre
+LIB_DEPENDS= libicui18n.so:devel/icu \
+ libpcre.so:devel/pcre
USES= execinfo
USE_GNOME= glib20
@@ -42,7 +42,8 @@
post-install:
# Allow qconfig.h to be customized by single ports.
- ${REINPLACE_CMD} -i "" '1 s|.*|#include <QtCore/qconfig-modules.h>|' \
- ${STAGEDIR}${PREFIX}/${QT_INCDIR_REL}/QtCore/qconfig.h
+ ${AWK} 'BEGIN{print "#include <QtCore/qconfig-modules.h>"}{print}' \
+ ${STAGEDIR}${PREFIX}/${QT_INCDIR_REL}/QtCore/qconfig.h > ${WRKDIR}/qconfig.h
+ ${MV} ${WRKDIR}/qconfig.h ${STAGEDIR}${PREFIX}/${QT_INCDIR_REL}/QtCore/qconfig.h
.include <bsd.port.post.mk>
More information about the Midnightbsd-cvs
mailing list