mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
14 lines
519 B
Text
14 lines
519 B
Text
--- Makefile.orig 2019-10-02 19:43:17 UTC
|
|
+++ Makefile
|
|
@@ -32,9 +32,9 @@ LDFLAGS ?= -lm
|
|
CFLAGS += $(shell pkg-config --cflags libusb-1.0)
|
|
LDFLAGS += $(shell pkg-config --libs libusb-1.0)
|
|
|
|
-PREFIX = /usr/local
|
|
+PREFIX ?= /usr/local
|
|
|
|
-GIT_VERSION := $(shell git describe --abbrev=4 --always --tags)
|
|
+GIT_VERSION ?= $(shell git describe --abbrev=4 --always --tags)
|
|
CFLAGS += -DVERSION=\"v0.9.0.0-$(GIT_VERSION)\"
|
|
|
|
####################################################################################################
|