aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-17 22:42:18 +0800
committermiwi <miwi@FreeBSD.org>2014-02-17 22:42:18 +0800
commite0522230348b010a17cc295eb19c44a0e65ffb2c (patch)
treee0dc60f34a1d9f39da33ca44bf5a4a42e6c55ce7
parent43fee3656c65cd1ac325589ea19d704b0eb375a3 (diff)
downloadfreebsd-ports-gnome-e0522230348b010a17cc295eb19c44a0e65ffb2c.tar.gz
freebsd-ports-gnome-e0522230348b010a17cc295eb19c44a0e65ffb2c.tar.zst
freebsd-ports-gnome-e0522230348b010a17cc295eb19c44a0e65ffb2c.zip
- Fix build when example are off
PR: 186838 Submitted by: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
-rw-r--r--devel/orc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/orc/Makefile b/devel/orc/Makefile
index 085fa0dbb0f5..df6293d06a81 100644
--- a/devel/orc/Makefile
+++ b/devel/orc/Makefile
@@ -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>