Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jun 2015 12:57:57 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r388665 - head/astro/gpxloggerd
Message-ID:  <201506061257.t56CvvIA026501@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Jun  6 12:57:56 2015
New Revision: 388665
URL: https://svnweb.freebsd.org/changeset/ports/388665

Log:
  astro/gpxloggerd: Unbreak on DragonFly
  
  The latest commits broke this port on DragonFly.  The port uses the
  base mk files rather than a standalone makefile, and will not build
  without warnings appearing:
  
    gpxloggerd.c:185:16: error: variable 'pt' set but not used
                         [-Werror=unused-but-set-variable]
  
  To ensure -Werror flag is not passed to the build, set NO_WERROR for
  the makefile.
  
  Approved by:	blanket (-Werror, restore DF)

Modified:
  head/astro/gpxloggerd/Makefile

Modified: head/astro/gpxloggerd/Makefile
==============================================================================
--- head/astro/gpxloggerd/Makefile	Sat Jun  6 12:12:13 2015	(r388664)
+++ head/astro/gpxloggerd/Makefile	Sat Jun  6 12:57:56 2015	(r388665)
@@ -18,6 +18,7 @@ PLIST_FILES=	sbin/${PORTNAME} \
 
 LDFLAGS+=	-lm
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+MAKE_ARGS=	NO_WERROR=yes
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506061257.t56CvvIA026501>