aboutsummaryrefslogtreecommitdiff
path: root/misc/getopt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/getopt/Makefile')
-rw-r--r--misc/getopt/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/getopt/Makefile b/misc/getopt/Makefile
index 8aa242b1abc4..7c444c873bbb 100644
--- a/misc/getopt/Makefile
+++ b/misc/getopt/Makefile
@@ -26,6 +26,9 @@ NLS_MAKE_ARGS_OFF= WITHOUT_GETTEXT=1
NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl
NLS_USES= gettext
+post-patch:
+ @${RM} ${WRKSRC}/gnu/*.o
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/