Bug 131716 - [patch] devel/qscintilla2: do not touch /usr/local before install stage and fix plist
Summary: [patch] devel/qscintilla2: do not touch /usr/local before install stage and f...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-15 17:00 UTC by Boris Samorodov
Modified: 2009-02-15 22:25 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Samorodov freebsd_committer freebsd_triage 2009-02-15 17:00:04 UTC
	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.

Fix: Add deletted by an accident at the previous commit a "do-install" label
	and QT_INCDIR_REL definition for PLIST_SUB.



WBR
-- 
bsam--KOQ5qtzh1C3qqSuRk481oTZpBK8uN0YCUrjuGKik0AuXEMYd
Content-Type: text/plain; name="qscintilla2.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="qscintilla2.diff"

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 &&\
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-02-15 17:00:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kde

Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131716 
 
Date: Sun, 15 Feb 2009 22:09:26 +0300
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-02-15 19:02:00 UTC
makc        2009-02-15 19:01:46 UTC

  FreeBSD ports repository

  Modified files:
    devel/qscintilla2    Makefile 
  Log:
  Readd mistakenly removed post-install target.
  
  PR:             ports/131716
  Submitted by:   bsam
  
  Revision  Changes    Path
  1.11      +1 -0      ports/devel/qscintilla2/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2009-02-15 19:11:37 UTC
State Changed
From-To: open->closed

Committed. Thanks!