- Fix build when example are off
PR: 186838 Submitted by: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
This commit is contained in:
parent
c4d7e6ac03
commit
474394fe46
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344759
1 changed files with 2 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue