Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2014 18:02:30 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349870 - in head/sysutils/ua: . files
Message-ID:  <201404011802.s31I2U59007222@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Tue Apr  1 18:02:30 2014
New Revision: 349870
URL: http://svnweb.freebsd.org/changeset/ports/349870
QAT: https://qat.redports.org/buildarchive/r349870/

Log:
  Fix build with modern c++
  
  Finish staging ;)

Added:
  head/sysutils/ua/files/
  head/sysutils/ua/files/patch-kua.cc   (contents, props changed)
  head/sysutils/ua/files/patch-ua.cc   (contents, props changed)
Modified:
  head/sysutils/ua/Makefile

Modified: head/sysutils/ua/Makefile
==============================================================================
--- head/sysutils/ua/Makefile	Tue Apr  1 17:54:02 2014	(r349869)
+++ head/sysutils/ua/Makefile	Tue Apr  1 18:02:30 2014	(r349870)
@@ -14,25 +14,14 @@ GNU_CONFIGURE=	yes
 PLIST_FILES=	bin/kua bin/ua \
 		man/man1/kua.1.gz man/man1/ua.1.gz
 PORTDOCS=	README
-MAN1L=		kua.1 ua.1
 
 OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.options.mk>
 
-.if ${OSVERSION} > 1000000
-.if ${CC} != gcc42
-BROKEN= needs gcc4.2 to compile
-.endif
-.endif
-
 post-install:
-.for i in ${MAN1L}
-	${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/man/man1/
-.endfor
-.if ${PORT_OPTIONS:MDOCS}
+	${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${PREFIX}/man/man1/
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
-.endif
 
 .include <bsd.port.mk>

Added: head/sysutils/ua/files/patch-kua.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/ua/files/patch-kua.cc	Tue Apr  1 18:02:30 2014	(r349870)
@@ -0,0 +1,10 @@
+--- ./kua.cc.orig	2014-03-31 20:20:29.908846067 +0100
++++ ./kua.cc	2014-03-31 20:20:48.178847931 +0100
+@@ -49,6 +49,7 @@
+ 
+ extern "C" {
+ #include <stdio.h>
++#include <unistd.h>
+ }
+ 
+ static char __help[] = 

Added: head/sysutils/ua/files/patch-ua.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/ua/files/patch-ua.cc	Tue Apr  1 18:02:30 2014	(r349870)
@@ -0,0 +1,10 @@
+--- ./ua.cc.orig	2014-03-31 20:20:23.870845476 +0100
++++ ./ua.cc	2014-03-31 20:21:00.021844495 +0100
+@@ -57,6 +57,7 @@
+ 
+ extern "C" {
+ #include <stdio.h>
++#include <unistd.h>
+ }
+ 
+ static char __help[] = 



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