svn commit: r372447 - in head/japanese/mh: . files

Bartek Rutkowski robak at FreeBSD.org
Tue Nov 11 13:41:38 UTC 2014


Author: robak
Date: Tue Nov 11 13:41:37 2014
New Revision: 372447
URL: https://svnweb.freebsd.org/changeset/ports/372447
QAT: https://qat.redports.org/buildarchive/r372447/

Log:
  japanese/mh: fixes
  
  - Strip binaries and libs
  - Add missing patch
  
  PR:		194880
  Submitted by:	Watanabe Kazuhiro <CQG00620 at nifty.ne.jp>
  Approved by:	mentors (implicit)

Added:
  head/japanese/mh/files/patch-conf__makefiles__uip   (contents, props changed)
Modified:
  head/japanese/mh/Makefile

Modified: head/japanese/mh/Makefile
==============================================================================
--- head/japanese/mh/Makefile	Tue Nov 11 13:19:52 2014	(r372446)
+++ head/japanese/mh/Makefile	Tue Nov 11 13:41:37 2014	(r372447)
@@ -41,10 +41,15 @@ OPTIONS_DEFINE=	DOCS
 post-patch:
 	${REINPLACE_CMD} -e "s/-O /${CFLAGS} /g" ${WRKSRC}/configure
 
-.if ${PORT_OPTIONS:MDOCS}
 post-install:
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC}/doc-JP && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
 .endif
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmh.so.3
+.for i in ap conflict dp fmtdump install-mh mhl post rcvdist rcvpack rcvstore rcvtty slocal spost
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mh/${i}
+.endfor
 
 .include <bsd.port.mk>

Added: head/japanese/mh/files/patch-conf__makefiles__uip
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/japanese/mh/files/patch-conf__makefiles__uip	Tue Nov 11 13:41:37 2014	(r372447)
@@ -0,0 +1,13 @@
+--- conf/makefiles/uip.orig	2001-05-30 23:57:47.000000000 +0900
++++ conf/makefiles/uip	2014-10-13 17:55:46.000000000 +0900
+@@ -995,10 +995,6 @@
+ 		-chmod g-s zrcvtty
+ 		$(CP) xrcvtty $@
+ 		- at chmod $(PGMPROT) $@
+- at BEGIN: BSD43
+-		- at chgrp tty $@
+-		- at chmod g+s $@
+- at END: BSD43
+ 		- at ls -l $@
+ 		- at echo ""
+ 


More information about the svn-ports-all mailing list