Bug 186838 - devel/orc: example1: No such file or directory
Summary: devel/orc: example1: No such file or directory
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: Koop Mast
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-17 13:00 UTC by O. Hartmann
Modified: 2014-02-17 14:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2014-02-17 13:00:00 UTC
Installation and/or updating of port devel/orc fails:

[...]
 install  -o root -g wheel -m 444 orc-0.4.pc '/usr/ports/devel/orc/work/stage/usr/local/libdata/pkgconfig'
gmake[5]: Leaving directory `/usr/ports/devel/orc/work/orc-0.4.18'
gmake[4]: Leaving directory `/usr/ports/devel/orc/work/orc-0.4.18'
gmake[3]: Leaving directory `/usr/ports/devel/orc/work/orc-0.4.18'
gmake[2]: Leaving directory `/usr/ports/devel/orc/work/orc-0.4.18'
install: /usr/ports/devel/orc/work/orc-0.4.18/examples/example1: No such file or directory
*** Error code 71

How-To-Repeat: Try installing or updating port devel/orc
Comment 1 Edwin Groothuis freebsd_committer 2014-02-17 13:00:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kwm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2014-02-17 14:42:25 UTC
Author: miwi
Date: Mon Feb 17 14:42:18 2014
New Revision: 344759
URL: http://svnweb.freebsd.org/changeset/ports/344759
QAT: https://qat.redports.org/buildarchive/r344759/

Log:
  - Fix build when example are off
  
  PR:		186838
  Submitted by:	"O. Hartmann" <ohartman@zedat.fu-berlin.de>

Modified:
  head/devel/orc/Makefile

Modified: head/devel/orc/Makefile
==============================================================================
--- head/devel/orc/Makefile	Mon Feb 17 14:38:53 2014	(r344758)
+++ head/devel/orc/Makefile	Mon Feb 17 14:42:18 2014	(r344759)
@@ -46,6 +46,7 @@ post-patch:
 		${WRKSRC}/configure 
 
 post-install:
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .for FILE in ${EXAMPLES_DATA}
 	@${INSTALL_DATA} ${WRKSRC}/examples/${FILE} ${STAGEDIR}${EXAMPLESDIR}/${FILE}
@@ -53,5 +54,6 @@ post-install:
 .for FILE in ${EXAMPLES_EXEC}
 	@${INSTALL_SCRIPT} ${WRKSRC}/examples/${FILE} ${STAGEDIR}${EXAMPLESDIR}/${FILE}
 .endfor
+.endif
 
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer 2014-02-17 14:42:59 UTC
State Changed
From-To: open->closed

fixit in r344759.