Date: Sun, 18 Nov 2018 22:36:17 +0100 From: Tobias Kortkamp <tobik@FreeBSD.org> To: Muhammad Moinur Rahman <bofh@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r485274 - head/net/nbd-server Message-ID: <1542576977.2386261.1581155040.7C79847F@webmail.messagingengine.com> In-Reply-To: <201811182108.wAIL80n6030392@repo.freebsd.org> References: <201811182108.wAIL80n6030392@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 18, 2018, at 22:08, Muhammad Moinur Rahman wrote: > Author: bofh > Date: Sun Nov 18 21:08:00 2018 > New Revision: 485274 > URL: https://svnweb.freebsd.org/changeset/ports/485274 > > Log: > net/nbd-server: Update 3.5=>3.18 > > - Add LICENSE_FILE > - Add OPTION GNUTLS > - Add USES=gnome > - Pet portlint > > PR: 230977 > Submitted by: ndowens@yahoo.com > Reported by: wouter@grep.be It fails to build: nbd-server.c:607:17: warning: implicit declaration of function 'atoll' is invalid in C99 [-Wimplicit-function-declaration] es = (off_t)atoll(optarg); ^ nbd-server.c:711:9: error: use of undeclared identifier 'DT_UNKNOWN' case DT_UNKNOWN: ^ nbd-server.c:722:9: error: use of undeclared identifier 'DT_REG' case DT_REG: ^ nbd-server.c:3426:5: warning: implicit declaration of function 'daemon' is invalid in C99 [-Wimplicit-function-declaration] if(daemon(0,0)<0) { ^ nbd-server.c:3473:3: warning: implicit declaration of function 'setgroups' is invalid in C99 [-Wimplicit-function-declaration] setgroups(0, NULL); ^ > Modified: > head/net/nbd-server/Makefile > head/net/nbd-server/distinfo > > Modified: head/net/nbd-server/Makefile > ============================================================================== > --- head/net/nbd-server/Makefile Sun Nov 18 20:44:30 2018 (r485273) > +++ head/net/nbd-server/Makefile Sun Nov 18 21:08:00 2018 (r485274) > @@ -2,8 +2,7 @@ > # $FreeBSD$ > > PORTNAME= nbd > -PORTVERSION= 3.5 > -PORTREVISION= 1 > +PORTVERSION= 3.18 > PORTEPOCH= 1 > CATEGORIES= net > MASTER_SITES= SF > @@ -13,17 +12,25 @@ MAINTAINER= bofh@FreeBSD.org > COMMENT= Server for the Linux network block device (nbd) > > LICENSE= GPLv2 > +LICENSE_FILE= ${WRKSRC}/COPYING > > -USES= pkgconfig tar:bzip2 > +USES= gnome pkgconfig > USE_GNOME= glib20 > + > GNU_CONFIGURE= yes > CONFIGURE_ARGS= --enable-lfs --enable-syslog > TEST_TARGET= check > > +OPTIONS_DEFINE= GNUTLS > +GNUTLS_CONFIGURE_WITH= gnutls > +GNUTLS_BUILD_DEPENDS= gnutls>0:security/gnutls > +GNUTLS_RUN_DEPENDS= gnutls>0:security/gnutls Did you mean GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls ?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1542576977.2386261.1581155040.7C79847F>