aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-05-08 12:43:29 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-05-08 12:43:29 +0000
commitdfa1f4fdcd71db3277c371102de2fa2f10b7271d (patch)
tree485a851251e14e8de18c7b311e996a5f42372eb4 /math
parent5b529f66273d9108d8684aa01e657e5c89049026 (diff)
downloadports-dfa1f4fdcd71db3277c371102de2fa2f10b7271d.tar.gz
ports-dfa1f4fdcd71db3277c371102de2fa2f10b7271d.zip
Utilize USE_GETOPT_LONG
PR: 51376 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=80448
Diffstat (limited to 'math')
-rw-r--r--math/spar/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/math/spar/Makefile b/math/spar/Makefile
index e1feba491e30..c78cc8c33561 100644
--- a/math/spar/Makefile
+++ b/math/spar/Makefile
@@ -15,19 +15,13 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@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