Skip to content

Commit

Permalink
mail/deforaos-mailer: Unbreak on HEAD
Browse files Browse the repository at this point in the history
- Add missing dependencies reported by poudriere
- Pet portclippy

Approved by:	portmgr (blanket)
  • Loading branch information
5u623l20 committed May 2, 2023
1 parent 408b2a2 commit 0c1e7c9
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions mail/deforaos-mailer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING

LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \
libfreetype.so:print/freetype2 \
libharfbuzz.so:print/harfbuzz \
libfontconfig.so:x11-fonts/fontconfig \
libDesktop.so:x11/deforaos-libdesktop

USES= desktop-file-utils gnome pkgconfig ssl
USE_GNOME= gtk20
USES= gnome pkgconfig ssl
USE_GNOME= cairo gdkpixbuf2 gtk20
USE_LDCONFIG= yes

MAKE_ARGS+= PREFIX=${PREFIX}
Expand All @@ -27,9 +30,10 @@ MAKE_JOBS_UNSAFE= yes

OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext

DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl
NLS_USES= gettext

.include <bsd.port.pre.mk>

Expand All @@ -55,6 +59,13 @@ post-patch:
${REINPLACE_CMD} 's|-Wl,-pie||g' \
${WRKSRC}/src/Makefile \
${WRKSRC}/tests/Makefile
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
${REINPLACE_CMD} 's/stack-protector-all/stack-protector-all -Wno-error=int-conversion/g' \
${WRKSRC}/src/Makefile \
${WRKSRC}/src/account/Makefile \
${WRKSRC}/src/plugins/Makefile \
${WRKSRC}/tests/Makefile
.endif

post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* \
Expand Down

0 comments on commit 0c1e7c9

Please sign in to comment.