Skip to content

Commit

Permalink
www/sogo: Fix build on HEAD and pkg-plist
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
5u623l20 committed May 1, 2023
1 parent 1a13e6f commit 7c1a0b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 7 additions & 1 deletion www/sogo/Makefile
Expand Up @@ -57,6 +57,12 @@ SUB_FILES+= pkg-message
SUB_LIST+= GNUSTEP_LOCAL_TOOLS=${GNUSTEP_LOCAL_TOOLS} \
GNUSTEP_MAKEFILES=${GNUSTEP_MAKEFILES}

.include <bsd.port.pre.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
CPPFLAGS+= -Wno-error=int-conversion
.endif

post-patch:
@${GREP} -rlF '/etc/sogo' ${WRKSRC} \
| ${XARGS} ${REINPLACE_CMD} 's#/etc/sogo#${PREFIX}/etc/sogo#g'
Expand All @@ -81,4 +87,4 @@ post-install:
${INSTALL_DATA} ${FILESDIR}/cron-ealarms-notify.sample ${STAGEDIR}${PREFIX}/GNUstep/Local/Tools/Admin/
${INSTALL_DATA} ${FILESDIR}/cron-expire-autoreply.sample ${STAGEDIR}${PREFIX}/GNUstep/Local/Tools/Admin/

.include <bsd.port.mk>
.include <bsd.port.post.mk>
2 changes: 0 additions & 2 deletions www/sogo/pkg-plist
Expand Up @@ -2186,8 +2186,6 @@ GNUstep/Local/Library/WOxElemBuilders-4.9/SOGoElements.wox/Resources/Info-gnuste
GNUstep/Local/Library/WOxElemBuilders-4.9/SOGoElements.wox/SOGoElements
GNUstep/Local/Library/WOxElemBuilders-4.9/SOGoElements.wox/bundle-info.plist
GNUstep/Local/Library/WOxElemBuilders-4.9/SOGoElements.wox/stamp.make
GNUstep/Local/Tools/Admin/cron-ealarms-notify.sample
GNUstep/Local/Tools/Admin/cron-expire-autoreply.sample
GNUstep/Local/Tools/Admin/sogo-ealarms-notify
GNUstep/Local/Tools/Admin/sogo-slapd-sockd
GNUstep/Local/Tools/Admin/sogo-tool
Expand Down

0 comments on commit 7c1a0b5

Please sign in to comment.