ports/sysutils/hexpeek/files/patch-test_Makefile
Stefan Eßer d37db18065 Fix build on powerpc64
While her let "make test" execute the port's test

Reported by:	linimon
2020-09-25 06:39:23 +00:00

17 lines
294 B
Text

--- test/Makefile.orig 2020-08-04 05:58:52 UTC
+++ test/Makefile
@@ -28,10 +28,13 @@ SRCDIR := .
BINDIR := .
EXEC := $(BINDIR)/simplediff
CC ?= clang
-CFLAGS := -O3 -Wall #-fPIC
+CFLAGS ?= -O3 -Wall #-fPIC
all: $(EXEC)
make -C base
+
+test: all
+ sh run
clear:
rm -f $(EXEC)