From 5b97b29b26f52269cb955c1d9063dacd2b951491 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 28 Aug 2020 18:42:06 +0000 Subject: [PATCH] Fix build with clang11 and other tweaks - Add -fcommon for now to fix build with clang11 - Pet portlint - Add missing dependencies to USE_XORG - Bump PORTREVISION --- mail/wmbiff/Makefile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/mail/wmbiff/Makefile b/mail/wmbiff/Makefile index f70013d5d8c5..c9056160456c 100644 --- a/mail/wmbiff/Makefile +++ b/mail/wmbiff/Makefile @@ -3,7 +3,7 @@ PORTNAME= wmbiff PORTVERSION= 0.4.27 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= mail windowmaker afterstep MASTER_SITES= SF @@ -12,20 +12,23 @@ COMMENT= xbiff-like Window Maker dock app LICENSE= GPLv2 -OPTIONS_DEFINE= GNUTLS - USES= shebangfix xorg + +OPTIONS_DEFINE= GNUTLS SHEBANG_FILES= scripts/security.debian.rb -USE_XORG= xpm +USE_XORG= x11 xext xpm GNU_CONFIGURE= yes +# Temporary fix to build with clang11 +CFLAGS+= -fcommon + PLIST_FILES= bin/wmbiff \ lib/wmbiff/security.debian.rb \ man/man1/wmbiff.1.gz \ man/man5/wmbiffrc.5.gz \ - %%DATADIR%%/sample.wmbiffrc \ - %%DATADIR%%/skins/wmbiff-master-contrast.xpm \ - %%DATADIR%%/skins/wmbiff-master-led.xpm + ${DATADIR}/sample.wmbiffrc \ + ${DATADIR}/skins/wmbiff-master-contrast.xpm \ + ${DATADIR}/skins/wmbiff-master-led.xpm GNUTLS_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls