aboutsummaryrefslogtreecommitdiff
path: root/math/xppaut
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /math/xppaut
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'math/xppaut')
-rw-r--r--math/xppaut/Makefile5
-rw-r--r--math/xppaut/files/patch-Makefile4
2 files changed, 4 insertions, 5 deletions
diff --git a/math/xppaut/Makefile b/math/xppaut/Makefile
index 6756fffb1db1..0603bfd82ff0 100644
--- a/math/xppaut/Makefile
+++ b/math/xppaut/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xppaut
PORTVERSION= 5.96
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math graphics
MASTER_SITES= http://www.math.pitt.edu/~bard/bardware/
DISTNAME= ${PORTNAME}${PORTVERSION}
@@ -16,8 +16,7 @@ MAINTAINER= stephen@math.missouri.edu
COMMENT= Graphical tool for solving differential equations, etc
MAN1= xppaut.1
-USE_X_PREFIX= yes
-USE_XORG= xbitmaps
+USE_XORG= xbitmaps x11 xproto
MAKE_ARGS= CC="${CC}"
WRKSRC= ${WRKDIR}
diff --git a/math/xppaut/files/patch-Makefile b/math/xppaut/files/patch-Makefile
index 9493e113c9fe..b3ca7e041938 100644
--- a/math/xppaut/files/patch-Makefile
+++ b/math/xppaut/files/patch-Makefile
@@ -17,11 +17,11 @@
# Standard Linux distributions #
##################################
-CFLAGS= -g -O -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR=$(VERSION) -I/usr/X11R6/include
-+CFLAGS= -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR=$(VERSION) -I$(X11BASE)/include
++CFLAGS= -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR=$(VERSION) -I$(LOCALBASE)/include
#CFLAGS= -g -O -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR=$(VERSION) -I/usr/X11R6/include
-LDFLAGS= -L/usr/X11R6/lib
-LIBS= -lX11 -lm -ldl
-+LDFLAGS= -L$(X11BASE)/lib
++LDFLAGS= -L$(LOCALBASE)/lib
+LIBS= -lX11 -lm
# NOTE: Recent (RedHat 8) versions of GCC seem to no longer have
# the integer errno, so compile with the -DNOERRNO option as well