svn commit: r420736 - in head/devel/gaul: . files

John Marino marino at FreeBSD.org
Tue Aug 23 19:17:32 UTC 2016


Author: marino
Date: Tue Aug 23 19:17:31 2016
New Revision: 420736
URL: https://svnweb.freebsd.org/changeset/ports/420736

Log:
  devel/gaul: document and fix ncurse requirement
  
  While here, replace "extern errno" with errno.h inclusion.

Added:
  head/devel/gaul/files/patch-configure   (contents, props changed)
Modified:
  head/devel/gaul/Makefile

Modified: head/devel/gaul/Makefile
==============================================================================
--- head/devel/gaul/Makefile	Tue Aug 23 19:09:32 2016	(r420735)
+++ head/devel/gaul/Makefile	Tue Aug 23 19:17:31 2016	(r420736)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gaul
 PORTVERSION=	0.1849.0
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-devel/0.1849
 DISTNAME=	${PORTNAME}-devel-${PORTVERSION:R}-${PORTVERSION:E}
@@ -13,10 +13,10 @@ COMMENT=	Genetic Algorithm Utility Libra
 
 LIB_DEPENDS=	libslang.so:devel/libslang2
 
-USES=		gmake libtool tar:bzip2
+USES=		gmake libtool ncurses tar:bzip2
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -lcurses
+LDFLAGS+=	-L${LOCALBASE}/lib -lncurses
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 

Added: head/devel/gaul/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/gaul/files/patch-configure	Tue Aug 23 19:17:31 2016	(r420736)
@@ -0,0 +1,14 @@
+--- configure.orig	2005-04-20 16:09:35 UTC
++++ configure
+@@ -25786,10 +25786,7 @@ _EOF_
+ 
+     cat >> $tmpfile << _EOF_
+ 
+-#ifndef errno
+-/* Some sytems #define this! */
+-extern int errno;
+-#endif
++#include <errno.h>
+ 
+ _EOF_
+ 


More information about the svn-ports-all mailing list