summaryrefslogtreecommitdiffstats
path: root/graphics/xfractint
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xfractint')
-rw-r--r--graphics/xfractint/Makefile3
-rw-r--r--graphics/xfractint/files/patch-Makefile4
2 files changed, 4 insertions, 3 deletions
diff --git a/graphics/xfractint/Makefile b/graphics/xfractint/Makefile
index 843adc6..1bfd484 100644
--- a/graphics/xfractint/Makefile
+++ b/graphics/xfractint/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xfractint
PORTVERSION= 20.2.04
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.sdboyd56.com/xfractint/
DISTNAME= xfract${PORTVERSION}
@@ -17,7 +18,7 @@ COMMENT= The Unix port of fractint
NO_WRKSUBDIR= yes
USE_ZIP= yes
-USE_XLIB= yes
+USE_XORG= x11
MAN1= xfractint.1
diff --git a/graphics/xfractint/files/patch-Makefile b/graphics/xfractint/files/patch-Makefile
index 9c4de20..a13c00f 100644
--- a/graphics/xfractint/files/patch-Makefile
+++ b/graphics/xfractint/files/patch-Makefile
@@ -20,7 +20,7 @@
#CFLAGS = -I. $(DEFINES) -g -DBIG_ANSI_C -DLINUX -Os -Wall -mpentium -DNASM
#CFLAGS = -I. $(DEFINES) -g -DBIG_ANSI_C -DLINUX -Os -DNASM
-CFLAGS = -I. $(DEFINES) -g -DBIG_ANSI_C -DLINUX -Os
-+CFLAGS += -I. $(DEFINES) -DBIG_ANSI_C -I${X11BASE}/include
++CFLAGS += -I. $(DEFINES) -DBIG_ANSI_C -I${LOCALBASE}/include
# Gcc is often the only compiler that works for this
# For HPUX, use CC = cc -Aa -D_HPUX_SOURCE
@@ -38,7 +38,7 @@
# For Linux, use
#LIBS = -L/usr/X11R6/lib -lX11 -lm -lncurses
-LIBS = -L/usr/X11R6/lib -lX11 -lm -lncurses
-+LIBS = -L${X11BASE}/lib -lX11 -lm -lcurses
++LIBS = -L${LOCALBASE}/lib -lX11 -lm -lcurses
#LIBS = -lX11 -lm -lcurses
# For using nasm, set:
OpenPOWER on IntegriCloud