aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-05-08 20:43:29 +0800
committernaddy <naddy@FreeBSD.org>2003-05-08 20:43:29 +0800
commiteeb5f78d183b66542bd555e5655e04b2b735e13e (patch)
treee2823a631adae6e2b51a37c9f6e62a2b0aad4771 /math
parent607ecdaff6090f5717173b8e3c0b153d573db3cb (diff)
downloadfreebsd-ports-gnome-eeb5f78d183b66542bd555e5655e04b2b735e13e.tar.gz
freebsd-ports-gnome-eeb5f78d183b66542bd555e5655e04b2b735e13e.tar.zst
freebsd-ports-gnome-eeb5f78d183b66542bd555e5655e04b2b735e13e.zip
Utilize USE_GETOPT_LONG
PR: 51376 Submitted by: Ports Fury
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