1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/mail/gnubiff/Makefile
Mark Linimon efc62e6bcd Adjust USES to fix builds on gcc-based architectures.
While here, pet portlint.

Tested for no regression on amd64.

Approved by:	portmgr (tier-2 blanket)
2018-06-18 19:03:03 +00:00

49 lines
1.0 KiB
Makefile

# Created by: Tim Bishop <tim@bishnet.net>
# $FreeBSD$
PORTNAME= gnubiff
PORTVERSION= 2.2.13
PORTREVISION= 5
CATEGORIES= mail
MASTER_SITES= SF
MAINTAINER= tdb@FreeBSD.org
COMMENT= Mail notification program for Gnome
LIB_DEPENDS= libpopt.so:devel/popt
OPTIONS_DEFINE= NLS
USES= compiler:c++11-lang cpe fam gmake pathfix pkgconfig
USE_GNOME= intlhack libglade2 esound
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lX11
# CXXFLAGS needed to work round issue with gcc and openssl 0.9.8a
# /usr/local/include/openssl/sha.h:173: error: ISO C++ does not support `long long'
CXXFLAGS+= "-Wno-long-long"
INFO= gnubiff
CPE_VENDOR= gnu
.include <bsd.port.options.mk>
.ifdef(WITH_GNUBIFF_PASSWORD)
CONFIGURE_ARGS+= --with-password
.endif
.if ${PORT_OPTIONS:MNLS}
CONFIGURE_ARGS+= --enable-nls
PLIST_SUB+= NLS=""
USES+= gettext
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
CONFIGURE_ARGS+= --disable-gnome
PLIST_SUB+= BONOBODIR="libdata/bonobo"
.include <bsd.port.mk>