diff options
Diffstat (limited to 'math/xppaut')
-rw-r--r-- | math/xppaut/Makefile | 5 | ||||
-rw-r--r-- | math/xppaut/files/patch-Makefile | 4 |
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 |