1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/science/epte/files/patch-makefile
Sahil Tandon a5408a406d epte is a curses-based periodic table of the elements. It provides a
set of examples of the basic sets of constants and procedures needed
to understand the behavior of matter.

WWW: http://www.toddmiller.com/epte/

PR:		ports/150183
Submitted by:	Frederic Culot <frederic@culot.org>
2010-09-08 03:09:31 +00:00

29 lines
648 B
Plaintext

--- makefile.orig 2010-09-01 10:41:27.655060824 +0200
+++ makefile 2010-09-01 10:46:21.341029572 +0200
@@ -320,13 +320,13 @@ IS_INTERACTIVE= yes
#ifdef VMS
CC = cc
#else
-CC = gcc
+CC ?= gcc
#endif
#ifdef DEVELOPER
-CC_OPTIONS = -c -g
+CC_OPTIONS = -c -g ${CFLAGS}
#else
-CC_OPTIONS = -c -g
+CC_OPTIONS = -c -g ${CFLAGS}
#endif
@@ -344,7 +344,7 @@ LIBS = -lcursesX -o epte
LIBS = -lncurses -o epte
#endif
-DISTNAME=/usr/bin
+DISTNAME=${PREFIX}
MAIN = ask_user.o bell.o bold.o blink.o draw_blocks.o draw_table.o endprog.o listcommand.o epte.o make_coordinates.o reverse.o setaudio.o setinput.o table_key.o ttflush.o ttinp.o