diff --git a/math/spar/Makefile b/math/spar/Makefile index a20b9c3fc6a2..c84a85d70f57 100644 --- a/math/spar/Makefile +++ b/math/spar/Makefile @@ -3,18 +3,21 @@ PORTNAME= spar PORTVERSION= 0.5.10 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math devel MASTER_SITES= SF/${PORTNAME}/Spar/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Modular math parser +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + USES= dos2unix libtool ncurses readline DOS2UNIX_FILES= lib/randist/rand.c -GNU_CONFIGURE= yes USE_CSTD= gnu89 USE_LDCONFIG= yes +GNU_CONFIGURE= yes post-patch: @${REINPLACE_CMD} -e "s,-ldl,,g" \ diff --git a/math/spar/files/patch-lib_sl__version.h b/math/spar/files/patch-lib_sl__version.h new file mode 100644 index 000000000000..6676f4d12c2b --- /dev/null +++ b/math/spar/files/patch-lib_sl__version.h @@ -0,0 +1,15 @@ +--- lib/sl_version.h.orig 2001-06-26 13:22:43 UTC ++++ lib/sl_version.h +@@ -39,9 +39,9 @@ void sl_info (void); + + void sl_warranty (void); + +-int sl_major_version; +-int sl_minor_version; +-int sl_patch_level; ++extern int sl_major_version; ++extern int sl_minor_version; ++extern int sl_patch_level; + + __END_DECLS + #endif /* _sl_version_h */