Project

General

Profile

Bug #3053 » patch-Makefileusr.patch

daftaupe, 11/24/2017 02:10 PM

View differences:

etc/Makefile.usr
100 100
release-sys-extract:
101 101
	cd ${.CURDIR} && tar xvpjf src-sys.tar.bz2
102 102

  
103
dports-check: git-check
104
	@/bin/test ! -d ${.CURDIR}/dports/.git || \
103
dports-check:
104
	@/bin/test ! -d ${.CURDIR}/dports || \
105 105
		   (echo "Error: ${.CURDIR}/dports already exists"; /usr/bin/false)
106 106

  
107
dports-check-shallow: git-check
108
	@/bin/test ! -d ${.CURDIR}/dports/.git || \
109
		   (echo "Error: ${.CURDIR}/dports/.git already exists"; /usr/bin/false)
110

  
107 111
dports-check-hasdir: git-check
108 112
	@/bin/test -d ${.CURDIR}/dports || \
109 113
		   (echo "Error: ${.CURDIR}/dports does not exist"; /usr/bin/false)
......
121 125
	@echo ${WSTARS}
122 126
.endif
123 127

  
124
dports-create-shallow: dports-check
128
dports-create-shallow: dports-check-shallow
125 129
	@echo "If problems occur you may have to rm -rf dports and try again."
126 130
	@echo
127 131
	git clone --depth=1 git://${GITHOST_DPORTS}/dports.git \
128
- 
(1-1/3)