FreeBSD Bugzilla – Attachment 143524 Details for
Bug 190788
[PATCH] www/webreport: convert to staged, fix compilation on 10+
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
20140608-webreport.diff
20140608-webreport.diff (text/plain), 1.77 KB, created by
Daniel Austin
on 2014-06-08 11:33:14 UTC
(
hide
)
Description:
20140608-webreport.diff
Filename:
MIME Type:
Creator:
Daniel Austin
Created:
2014-06-08 11:33:14 UTC
Size:
1.77 KB
patch
obsolete
>diff -ruN webreport.orig/Makefile webreport/Makefile >--- webreport.orig/Makefile 2014-01-22 17:00:46.000000000 +0000 >+++ webreport/Makefile 2014-06-08 12:18:24.596434000 +0100 >@@ -3,29 +3,34 @@ > > PORTNAME= webreport > PORTVERSION= 1.5 >+PORTREVISION= 1 > CATEGORIES= www > MASTER_SITES= http://www.inter7.com/webreport/ > > MAINTAINER= ismail@EnderUNIX.org > COMMENT= WebReport is a web log statistics program for web hosting sites > >+SUB_FILES= pkg-message > PORTDOCS= INSTALL > PLIST_FILES= bin/webreport etc/webreport.conf-dist > >-NO_STAGE= yes >+OPTIONS_DEFINE= DOCS >+ >+# silence clang errors on 10.0+ >+CFLAGS+= -Wno-return-type >+ >+.include <bsd.port.options.mk> >+ > post-patch: > @${REINPLACE_CMD} -e 's,ulong,unsigned long,;s,/etc/,${PREFIX}/etc/,' ${WRKSRC}/webreport.h > > do-install: >- @${INSTALL_PROGRAM} ${WRKSRC}/webreport ${PREFIX}/bin >- @${INSTALL_DATA} ${WRKSRC}/webreport.conf ${PREFIX}/etc/webreport.conf-dist >+ @${INSTALL_PROGRAM} ${WRKSRC}/webreport ${STAGEDIR}${PREFIX}/bin >+ @${INSTALL_DATA} ${WRKSRC}/webreport.conf ${STAGEDIR}${PREFIX}/etc/webreport.conf-dist > >-.if !defined(NOPORTDOCS) >- @${MKDIR} ${DOCSDIR} >- @${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} >+.if ${PORT_OPTIONS:MDOCS} >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+ @${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} > .endif > >-post-install: >- @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g' >- > .include <bsd.port.mk> >diff -ruN webreport.orig/files/pkg-message.in webreport/files/pkg-message.in >--- webreport.orig/files/pkg-message.in 1970-01-01 01:00:00.000000000 +0100 >+++ webreport/files/pkg-message.in 2014-06-08 12:07:56.093498335 +0100 >@@ -0,0 +1,4 @@ >+ >+Read the %%PREFIX%%/share/doc/webreport/INSTALL to configure webreport >+ >+Edit the %%PREFIX%%/etc/webreport.conf >--- 20140608-webreport.diff ends here ---
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 190788
: 143524