summaryrefslogtreecommitdiff
path: root/ftp/fastdfs/files/patch-tracker-Makefile.in
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2020-07-03 15:13:58 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2020-07-03 15:13:58 +0000
commit61c827b33eb6e83a20977a661ceb5d0f00ee078e (patch)
tree8fa417fd262b07f6a38fbbb6998c4e22b82dee2d /ftp/fastdfs/files/patch-tracker-Makefile.in
parentFix build with non-default LOCALBASE, PREFIX (diff)
Update to 6.06
PR: 246912 Submitted by: Daniel Ylitalo <daniel@blodan.se> (maintainer)
Diffstat (limited to 'ftp/fastdfs/files/patch-tracker-Makefile.in')
-rw-r--r--ftp/fastdfs/files/patch-tracker-Makefile.in11
1 files changed, 5 insertions, 6 deletions
diff --git a/ftp/fastdfs/files/patch-tracker-Makefile.in b/ftp/fastdfs/files/patch-tracker-Makefile.in
index 01757c3a17f1..2fe4ad169829 100644
--- a/ftp/fastdfs/files/patch-tracker-Makefile.in
+++ b/ftp/fastdfs/files/patch-tracker-Makefile.in
@@ -1,23 +1,22 @@
---- tracker/Makefile.in.orig 2016-08-08 07:17:50 UTC
+--- tracker/Makefile.in.orig 2019-12-30 23:36:03 UTC
+++ tracker/Makefile.in
@@ -1,8 +1,8 @@
.SUFFIXES: .c .o
COMPILE = $(CC) $(CFLAGS)
--INC_PATH = -I../common -I/usr/include/fastcommon
+-INC_PATH = -I../common -I/usr/local/include
-LIB_PATH = $(LIBS) -lfastcommon
-+INC_PATH = -I../common -I$(LOCALBASE)/include/fastcommon
++INC_PATH = -I../common -I$(LOCALBASE)/include
+LIB_PATH = $(LIBS) -L${LOCALBASE}/lib -lfastcommon
TARGET_PATH = $(TARGET_PREFIX)/bin
CONFIG_PATH = $(TARGET_CONF_PATH)
-@@ -26,7 +26,8 @@ all: $(ALL_OBJS) $(ALL_PRGS)
+@@ -26,7 +26,7 @@ all: $(ALL_OBJS) $(ALL_PRGS)
install:
mkdir -p $(TARGET_PATH)
mkdir -p $(CONFIG_PATH)
- cp -f $(ALL_PRGS) $(TARGET_PATH)
+ install -s $(ALL_PRGS) $(TARGET_PATH)
if [ ! -f $(CONFIG_PATH)/tracker.conf.sample ]; then cp -f ../conf/tracker.conf $(CONFIG_PATH)/tracker.conf.sample; fi
-+ if [ ! -f $(CONFIG_PATH)/storage_ids.conf.sample ]; then cp -f ../conf/storage_ids.conf $(CONFIG_PATH)/storage_ids.conf.sample; fi
+ if [ ! -f $(CONFIG_PATH)/storage_ids.conf.sample ]; then cp -f ../conf/storage_ids.conf $(CONFIG_PATH)/storage_ids.conf.sample; fi
clean:
- rm -f $(ALL_OBJS) $(ALL_PRGS)