ports/51376: Update port: math/spar

KATO Tsuguru tkato at prontomail.com
Thu Apr 24 16:40:48 UTC 2003


>Number:         51376
>Category:       ports
>Synopsis:       Update port: math/spar
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 24 09:40:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Utilize USE_GETOPT_LONG

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/math/spar/Makefile math/spar/Makefile
--- /usr/ports/math/spar/Makefile	Sat Apr 12 22:57:56 2003
+++ math/spar/Makefile	Thu Apr 24 04:28:55 2003
@@ -15,18 +15,12 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A modular math parser
 
+USE_GETOPT_LONG=	yes
 USE_REINPLACE=	yes
 USE_LIBTOOL=	yes
-CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 INSTALLS_SHLIB=	yes
 
 MAN1=	spar.1
-
-.if !exists(/usr/include/getopt.h)
-LIB_DEPENDS+=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -lgnugetopt
-.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e "s,-ldl,,g" ${WRKSRC}/lib/Makefile.in
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list