diff options
author | Renato Botelho <garga@FreeBSD.org> | 2021-04-08 11:34:56 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2021-04-08 11:55:07 +0000 |
commit | 97ea9a85b58f03a8b27483f5925fc3be9ad4bdea (patch) | |
tree | 11f5c7f38c142c59f7ce81f10e7dd2a325798369 /mail | |
parent | 439d1445b6f1dafe759bd5c35a1ff2a77174926d (diff) | |
download | ports-97ea9a85b58f03a8b27483f5925fc3be9ad4bdea.tar.gz ports-97ea9a85b58f03a8b27483f5925fc3be9ad4bdea.zip |
mail/wmbiff: Fix build with GNUTLS
While here, stop installing debian script
Sponsored by: Rubicon Communications, LLC ("Netgate")
Diffstat (limited to 'mail')
-rw-r--r-- | mail/wmbiff/Makefile | 13 | ||||
-rw-r--r-- | mail/wmbiff/pkg-plist | 1 |
2 files changed, 9 insertions, 5 deletions
diff --git a/mail/wmbiff/Makefile b/mail/wmbiff/Makefile index 79b04a298a85..e76ee18c4a99 100644 --- a/mail/wmbiff/Makefile +++ b/mail/wmbiff/Makefile @@ -2,6 +2,7 @@ PORTNAME= wmbiff PORTVERSION= 0.4.36 +PORTREVISION= 1 CATEGORIES= mail windowmaker afterstep MASTER_SITES= https://www.dockapps.net/download/ @@ -10,10 +11,9 @@ COMMENT= xbiff-like Window Maker dock app LICENSE= GPLv2 -USES= shebangfix xorg +USES= pkgconfig xorg USE_XORG= x11 xext xpm -SHEBANG_FILES= scripts/security.debian.rb GNU_CONFIGURE= yes SUB_FILES= pkg-message @@ -23,10 +23,15 @@ OPTIONS_DEFAULT=GNUTLS GNUTLS_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls \ libgpg-error.so:security/libgpg-error -GNUTLS_CONFIGURE_ON= --with-libgnutls-prefix=${LOCALBASE} \ - --with-libgcrypt-prefix=${LOCALBASE} +GNUTLS_CONFIGURE_ON= --with-libgcrypt-prefix=${LOCALBASE} GNUTLS_CONFIGURE_OFF= --disable-crypto +post-patch: + @${REINPLACE_CMD} -e '/^SUBDIRS *=/ s/scripts//' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e '/security.debian.rb/ s/^/# /' \ + ${WRKSRC}/wmbiff/sample.wmbiffrc + post-install: ${INSTALL_DATA} ${WRKSRC}/wmbiff/sample.wmbiffrc ${STAGEDIR}${DATADIR} diff --git a/mail/wmbiff/pkg-plist b/mail/wmbiff/pkg-plist index 11d5eedfb36d..c4f4b8831cc6 100644 --- a/mail/wmbiff/pkg-plist +++ b/mail/wmbiff/pkg-plist @@ -1,5 +1,4 @@ bin/wmbiff -lib/wmbiff/security.debian.rb man/man1/wmbiff.1.gz man/man5/wmbiffrc.5.gz %%DATADIR%%/sample.wmbiffrc |