mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 02:53:10 -04:00
ChangeLog: https://fractint.net/ftp/current/dos/whatsnew.txt PR: 253107 Submitted by: m.ne@gmx.net Approved by: onemda@gmail.com (maintainer, timeout > 2 weeks)
71 lines
2.3 KiB
Text
71 lines
2.3 KiB
Text
--- Makefile.orig 2020-08-01 23:19:09 UTC
|
|
+++ Makefile
|
|
@@ -20,7 +20,7 @@ NCURSES =
|
|
|
|
# Use Xft/fontconfig libraries
|
|
WITHXFT = -DWITH_XFT
|
|
-XFTHFD = /usr/include/freetype2
|
|
+XFTHFD = $(LOCALBASE)/include/freetype2
|
|
# Or not
|
|
# WITHXFT =
|
|
# XFTHFD =
|
|
@@ -34,7 +34,7 @@ endif
|
|
|
|
# SRCDIR should be a path to the directory that will hold fractint.hlp
|
|
# SRCDIR should also hold the .par, .frm, etc. files
|
|
-SRCDIR = $(DESTDIR)/share/xfractint
|
|
+SRCDIR = $(PREFIX)/share/xfractint
|
|
SHRDIR = $(PREFIX)/share/xfractint
|
|
# BINDIR is where you put your X11 binaries
|
|
BINDIR = $(DESTDIR)/bin
|
|
@@ -123,24 +123,20 @@ AFLAGS = -f elf -w+orphan-labels
|
|
#For Solaris, use CFLAGS = -I. -I/usr/openwin/include $(DEFINES) -g
|
|
#If you have the nasm assembler on your system add -DNASM to CFLAGS
|
|
|
|
-ifeq ($(AS),/usr/bin/nasm)
|
|
|
|
-CFLAGS = -I$(HFD) $(DEFINES) -DBIG_ANSI_C -DLINUX -DNASM -fno-builtin
|
|
#CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX -DNASM -fno-builtin
|
|
#CFLAGS = -I. -D_CONST $(DEFINES)
|
|
#CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX \
|
|
# -march=$(ARCH) -DNASM -fno-builtin
|
|
#CFLAGS = -I. $(DEFINES) -g -DBIG_ANSI_C -DLINUX -Os -DNASM -fno-builtin
|
|
|
|
-else
|
|
|
|
-CFLAGS = -I$(HFD) $(DEFINES) -DBIG_ANSI_C -DLINUX -fno-builtin
|
|
+CFLAGS = -I$(LOCALBASE)/include -I$(HFD) $(DEFINES) -DBIG_ANSI_C -DLINUX -fno-builtin
|
|
#CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX -fno-builtin
|
|
#CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX \
|
|
# -march=$(ARCH) -fno-builtin
|
|
#CFLAGS = -I. $(DEFINES) -g -DBIG_ANSI_C -DLINUX -Os -fno-builtin
|
|
|
|
-endif
|
|
|
|
# Gcc is often the only compiler that works for this
|
|
# For HPUX, use CC = cc -Aa -D_HPUX_SOURCE
|
|
@@ -162,11 +158,7 @@ CC ?=
|
|
# LIBS = -L/usr/X11R6/lib -lX11 -lm -lncurses
|
|
# LIBS = -lX11 -lm -lcurses
|
|
|
|
-ifeq ($(ARCH),athlon64)
|
|
-LIBS = -L/usr/X11R6/lib64 -lX11 -lm -no-pie
|
|
-else
|
|
-LIBS = -L/usr/X11R6/lib -lX11 -lm -no-pie
|
|
-endif
|
|
+LIBS = -L${LOCALBASE}/lib -lX11 -lm
|
|
|
|
ifeq ($(NCURSES),-DNCURSES)
|
|
LIBS += -lncurses
|
|
@@ -324,9 +316,9 @@ fractint:
|
|
rm -f unix/unixscr.o unix/video.o unix/xfcurses.o
|
|
make NCURSES=-DNCURSES ; mv xfractint fractint
|
|
rm -f common/encoder.o common/help.o common/realdos.o
|
|
- rm -f unix/unixscr.o unix/video.o unix/xfcurses.o
|
|
+ rm -f unix/unixscr.o unix/video.o unix/xfcurses.o
|
|
if [ -x xfractint.x11 ] ; then mv -f xfractint.x11 xfractint ; fi
|
|
-
|
|
+
|
|
# tar: $(FILES)
|
|
# tar cvfj xfractint.tar.bz2 $(FILES)
|
|
|