1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/science/voro++/files/patch-config.mk
Jason W. Bacon 73141b230f science/voro++: Add shared library
Consolidated build changes into patch files.

Kept static lib as well as some dependencies may specify it explicitly
(this is common in scientific software for better or worse) and the library
is very small.

PR:             232876
Reported by:    yuri
Approved by:    jrm (mentor, implicit)
2018-11-04 15:52:42 +00:00

28 lines
531 B
Makefile

--- config.mk.orig 2013-10-17 17:54:13 UTC
+++ config.mk
@@ -8,20 +8,20 @@
# the Makefiles.
# C++ compiler
-CXX=g++
+CXX?=g++
# Flags for the C++ compiler
-CFLAGS=-Wall -ansi -pedantic -O3
+CFLAGS?=-Wall -ansi -pedantic -O3
# Relative include and library paths for compilation of the examples
E_INC=-I../../src
E_LIB=-L../../src
# Installation directory
-PREFIX=/usr/local
+PREFIX?=/usr/local
# Install command
-INSTALL=install
+INSTALL?=install
# Flags for install command for executable
IFLAGS_EXEC=-m 0755