aboutsummaryrefslogtreecommitdiff
path: root/devel/gaul
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-08-23 19:17:31 +0000
committerJohn Marino <marino@FreeBSD.org>2016-08-23 19:17:31 +0000
commit9ac72add0736ec945c6111cb5aca5b298f9b9532 (patch)
tree6d38e53018b46936a327a43b38c35f32b3ab9208 /devel/gaul
parent84060bc09479bf3458aeb57631e785bf356a1abd (diff)
downloadports-9ac72add0736ec945c6111cb5aca5b298f9b9532.tar.gz
ports-9ac72add0736ec945c6111cb5aca5b298f9b9532.zip
Notes
Diffstat (limited to 'devel/gaul')
-rw-r--r--devel/gaul/Makefile6
-rw-r--r--devel/gaul/files/patch-configure14
2 files changed, 17 insertions, 3 deletions
diff --git a/devel/gaul/Makefile b/devel/gaul/Makefile
index 1ab801435d78..c01aa7e4bb24 100644
--- a/devel/gaul/Makefile
+++ b/devel/gaul/Makefile
@@ -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 Library
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
diff --git a/devel/gaul/files/patch-configure b/devel/gaul/files/patch-configure
new file mode 100644
index 000000000000..f2bd5c8d4a0c
--- /dev/null
+++ b/devel/gaul/files/patch-configure
@@ -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_
+