ports/131716: [patch] devel/qscintilla2: do not touch /usr/local before install stage and fix plist
Boris Samorodov
bsam at FreeBSD.org
Sun Feb 15 17:00:08 UTC 2009
>Number: 131716
>Category: ports
>Synopsis: [patch] devel/qscintilla2: do not touch /usr/local before install stage and fix plist
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 15 17:00:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Boris Samorodov
>Release: FreeBSD 8.0-CURRENT i386
>Organization:
InPharmtech, Co.
>Environment:
System: FreeBSD bb.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Feb 14 19:51:21 MSK 2009 root at bb.ipt.ru:/usr/obj/usr/src/sys/BB i386
>Description:
Building this port at tinderbox gives:
-----
====================<phase 5: make test>====================
make: don't know how to make regression-test(continuing)
================================================================
Fatal error: filesystem was touched prior to 'make install' phase
usr/local/share/doc/qscintilla2 extra
usr/local/share/examples/qscintilla2 extra
-----
After fixing this error a pkg-plist error occures.
>How-To-Repeat:
>Fix:
Add deletted by an accident at the previous commit a "do-install" label
and QT_INCDIR_REL definition for PLIST_SUB.
--- qscintilla2.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/qscintilla2/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile 14 Feb 2009 22:58:52 -0000 1.10
+++ Makefile 15 Feb 2009 16:40:59 -0000
@@ -27,6 +27,8 @@
.include "../py-sip/files/bsd.pyqt.mk"
.include <bsd.port.pre.mk>
+PLIST_SUB+= QT_INCDIR_REL=${QT_INCDIR_REL}
+
.if !defined(WITHOUT_NLS)
PLIST_SUB+= NLS=""
.else
@@ -57,6 +59,7 @@
s|^LINK .*|LINK=${CXX}|' \
${BUILD_WRKSRC}/Makefile
+post-install:
.if !defined(NOPORTDOCS)
cd ${WRKSRC} &&\
${MKDIR} ${DOCSDIR}/html ${DOCSDIR}/Scintilla &&\
--- qscintilla2.diff ends here ---
WBR
--
bsam
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list