forked from Lainports/freebsd-ports
26 lines
975 B
Text
26 lines
975 B
Text
--- linux64/makebsd.orig 2016-10-30 18:42:16 UTC
|
|
+++ linux64/makebsd
|
|
@@ -1,19 +1,19 @@
|
|
# Makefile for FreeBSD 10.0 64-bit mprime
|
|
#
|
|
-# Install the curl package. This will be installed to /usr/local by default.
|
|
+# Install the curl package. This will be installed to %%LOCALBASE%% by default.
|
|
#
|
|
# Hwloc can be downloaded from https://www.open-mpi.org/projects/hwloc/
|
|
# Configure hwloc with --enable-static --disable-shared --disable-pci --disable-cuda --disable-gl
|
|
#
|
|
|
|
CC = cc
|
|
-CFLAGS = -I.. -I../gwnum -I/usr/local/include -DX86_64 -O2
|
|
+CFLAGS = -I.. -I../gwnum -I%%LOCALBASE%%/include -DX86_64 -O2
|
|
|
|
CPP = cc
|
|
CPPFLAGS = -I.. -I../gwnum -DX86_64 -O2
|
|
|
|
-LFLAGS = -L/usr/local/lib -Wl,-M
|
|
-LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread /usr/local/lib/libhwloc.a -lcurl -lstdc++ -lcompat -lgmp
|
|
+LFLAGS = -L%%LOCALBASE%%/lib
|
|
+LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -lhwloc -lcurl -lcompat -lgmp
|
|
|
|
FACTOROBJ = factor64.o
|
|
OBJS = prime.o menu.o
|