aboutsummaryrefslogtreecommitdiff
path: root/textproc/libxml2
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2019-10-05 05:42:01 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2019-10-05 05:42:01 +0000
commit4d8148ba5f12d1a258478bb97bca5246fe5489ec (patch)
tree086fe3cf09e38471fc1d2d1e379f0230f6d73091 /textproc/libxml2
parent62ff35245303c06f22fee0da9b1b7e046ce4e156 (diff)
downloadports-4d8148ba5f12d1a258478bb97bca5246fe5489ec.tar.gz
ports-4d8148ba5f12d1a258478bb97bca5246fe5489ec.zip
MASTERDIR is always defined after bsd.port.pre.mk
Notes
Notes: svn path=/head/; revision=513808
Diffstat (limited to 'textproc/libxml2')
-rw-r--r--textproc/libxml2/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile
index fe57bb18d3bc..1044eae648d4 100644
--- a/textproc/libxml2/Makefile
+++ b/textproc/libxml2/Makefile
@@ -54,6 +54,11 @@ THREAD_ALLOC_CONFIGURE_WITH= thread-alloc
.endif # !defined(MASTERDIR)
+.if !defined(MASTERDIR)
+post-install:
+ @${RM} -r ${STAGEDIR}${PREFIX}/share/gtk-doc
+.endif
+
.include <bsd.port.pre.mk>
post-patch:
@@ -71,11 +76,6 @@ post-patch:
@${REINPLACE_CMD} -e 's/ -Wno-array-bounds//' ${WRKSRC}/configure
.endif
-.if !defined(MASTERDIR)
-post-install:
- @${RM} -r ${STAGEDIR}${PREFIX}/share/gtk-doc
-.endif
-
.include <bsd.port.post.mk>
.endif