Date: Thu, 24 Oct 2013 14:09:03 +0900 From: Takefu <takefu@airport.fm> To: freebsd-gnats-submit@freebsd.org Cc: db@FreeBSD.org Subject: ports/183256: [PATCH] comms/thebridge: fix StageDir Message-ID: <5268AB6F.8050601@airport.fm> Resent-Message-ID: <201310240510.r9O5A2dv053506@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183256 >Category: ports >Synopsis: [PATCH] comms/thebridge: fix stage >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 24 05:10:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Takefu >Release: FreeBSD 8.4-RELEASE-p4 i386 >Organization: FOX Amateur Radio Club >Environment: System: FreeBSD RELENG84-ix86.localIPv4.airport.fm 8.4-RELEASE-p4 FreeBSD 8.4-RELEASE-p4 #0: Wed Sep 25 14:55:36 JST 2013 >Description: fix StageDir binary strip Port maintainer (db@FreeBSD.org) is cc'd. >How-To-Repeat: >Fix: --- thebridge-1.09.patch begins here --- diff -ruN /usr/ports/comms/thebridge/Makefile ./Makefile --- /usr/ports/comms/thebridge/Makefile 2013-09-30 08:40:13.000000000 +0900 +++ ./Makefile 2013-10-24 13:20:19.000000000 +0900 @@ -11,28 +11,21 @@ COMMENT= Amateur Radio Echolink conference bridge LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake GNU_CONFIGURE= yes PORTDOCS= README USE_RC_SUBR= tbd -NO_STAGE= yes -.include <bsd.port.options.mk> - -post-patch: - @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},; \ - s,%%PREFIX%%,${PREFIX},' \ - ${WRKSRC}/addons/usermgmt.cgi +.include <bsd.port.pre.mk> post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + @${MKDIR} ${STAGEDIR}/${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}/${DOCSDIR} .endif - ${MKDIR} ${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/addons/usermgmt.cgi ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/addons/README ${DATADIR} + ${MKDIR} ${STAGEDIR}/${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/addons/usermgmt.cgi ${STAGEDIR}/${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/addons/README ${STAGEDIR}/${DATADIR} .include <bsd.port.mk> diff -ruN /usr/ports/comms/thebridge/files/patch-src_Makefile.in ./files/patch-src_Makefile.in --- /usr/ports/comms/thebridge/files/patch-src_Makefile.in 2013-01-07 23:28:10.000000000 +0900 +++ ./files/patch-src_Makefile.in 2013-10-24 13:57:33.000000000 +0900 @@ -1,5 +1,5 @@ ---- src/Makefile.in.orig 2012-12-10 01:00:44.000000000 -0500 -+++ src/Makefile.in 2013-01-03 18:54:09.000000000 -0500 +--- src/Makefile.in.orig 2012-12-10 15:00:44.000000000 +0900 ++++ src/Makefile.in 2013-10-24 13:57:30.000000000 +0900 @@ -115,7 +115,7 @@ tbd_OBJECTS = $(am_tbd_OBJECTS) am__DEPENDENCIES_1 = @@ -33,3 +33,12 @@ @LINK_BOX_FALSE@ $(LIBDMALLOC) -lm all: all-am +@@ -450,7 +450,7 @@ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done + install: install-am +-install-exec: install-exec-am ++install-exec: install-strip install-exec-am + install-data: install-data-am + uninstall: uninstall-am + diff -ruN /usr/ports/comms/thebridge/files/patch-tbdcmd_Makefile.in ./files/patch-tbdcmd_Makefile.in --- /usr/ports/comms/thebridge/files/patch-tbdcmd_Makefile.in 1970-01-01 09:00:00.000000000 +0900 +++ ./files/patch-tbdcmd_Makefile.in 2013-10-24 13:36:41.000000000 +0900 @@ -0,0 +1,20 @@ +--- tbdcmd/Makefile.in.orig 2012-12-10 15:00:44.000000000 +0900 ++++ tbdcmd/Makefile.in 2013-10-24 13:36:31.000000000 +0900 +@@ -405,7 +405,7 @@ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done + install: install-am +-install-exec: install-exec-am ++install-exec: install-strip install-exec-am + install-data: install-data-am + uninstall: uninstall-am + +@@ -530,7 +530,7 @@ + @LINK_BOX_FALSE@ if test -f $(DESTDIR)$(bindir)/tbdchat; then \ + @LINK_BOX_FALSE@ rm $(DESTDIR)$(bindir)/tbdchat; \ + @LINK_BOX_FALSE@ fi +-@LINK_BOX_FALSE@ ln -s $(DESTDIR)$(bindir)/tbdcmd $(DESTDIR)$(bindir)/tbdchat ++@LINK_BOX_FALSE@ ln -s tbdcmd $(DESTDIR)$(bindir)/tbdchat + + @LINK_BOX_FALSE@uninstall-hook: + @LINK_BOX_FALSE@ rm $(DESTDIR)$(bindir)/tbdchat --- thebridge-1.09.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5268AB6F.8050601>