summaryrefslogtreecommitdiff
path: root/math/mtrxmath
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-14 02:53:03 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-14 02:53:03 +0000
commitb185046be2ec03555daaf4f26d38542c403a9955 (patch)
tree0274ce607614533de66837fc1f70d4c35770d9e1 /math/mtrxmath
parentUpdate to 0.2.3 (diff)
get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
Notes
Notes: svn path=/head/; revision=84842
Diffstat (limited to 'math/mtrxmath')
-rw-r--r--math/mtrxmath/Makefile9
-rw-r--r--math/mtrxmath/files/patch-Makefile8
2 files changed, 10 insertions, 7 deletions
diff --git a/math/mtrxmath/Makefile b/math/mtrxmath/Makefile
index 1c7bec009a47..5da4f3f73698 100644
--- a/math/mtrxmath/Makefile
+++ b/math/mtrxmath/Makefile
@@ -5,15 +5,18 @@
# $FreeBSD$
#
-PORTNAME= mtrxmath
+PORTNAME= mtrxmath
PORTVERSION= 0.9.3
-CATEGORIES= math
+PORTREVISION= 1
+CATEGORIES= math
MASTER_SITES= http://www.angelfire.com/linux/linuxjeff/mtrxmath/files/
MAINTAINER= greid@ukug.uk.freebsd.org
COMMENT= A small tool for matrix mathemetics
-LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+USE_GETOPT_LONG=yes
+MAKE_ENV= CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mtrxmath ${PREFIX}/bin
diff --git a/math/mtrxmath/files/patch-Makefile b/math/mtrxmath/files/patch-Makefile
index 4e9502de0bf9..f096036dd594 100644
--- a/math/mtrxmath/files/patch-Makefile
+++ b/math/mtrxmath/files/patch-Makefile
@@ -1,8 +1,8 @@
---- Makefile.orig Sun Jan 7 23:29:11 2001
-+++ Makefile Tue Jan 9 20:43:18 2001
+--- Makefile.orig Mon Jan 8 08:29:11 2001
++++ Makefile Sun Jul 6 20:09:15 2003
@@ -1,4 +1,4 @@
-CFLAGS=-Wall -g
-+CFLAGS+=-Wall -g -I${PREFIX}/include
++CFLAGS+=-Wall -g ${CPPFLAGS}
SRCS=add.c mtrxmath.c mult.c sub.c inverse.c
@@ -11,7 +11,7 @@
${EXE}: ${OBJS}
- ${CC} -o $@ ${OBJS}
-+ ${CC} -o $@ ${OBJS} -L${PREFIX}/lib -lgnugetopt
++ ${CC} -o $@ ${OBJS} ${LDFLAGS}
clean:
rm -f ${OBJS} ${EXE} *.orig