From 2d5386cc2c570cf781c45cc948a800c8f8d4f0d0 Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Mon, 31 Oct 2016 21:11:46 +0000 Subject: [PATCH] Fix packaging /usr/share/examples/etc. Reported by: woodsb02 MFC after: 3 days X-MFC-With: r308148 Sponsored by: The FreeBSD Foundation --- etc/Makefile | 2 +- share/examples/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/Makefile b/etc/Makefile index b41a806a41e..fe518d283d1 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -459,7 +459,7 @@ distrib-dirs: ${MTREES:N/*} distrib-cleanup .PHONY .endif etc-examples-install: ${META_DEPS} - cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ + cd ${.CURDIR}; ${INSTALL} ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 \ ${BIN1} ${BIN2} nsmb.conf opieaccess \ ${DESTDIR}${SHAREDIR}/examples/etc diff --git a/share/examples/Makefile b/share/examples/Makefile index acb50c75f7e..7bf606c9181 100644 --- a/share/examples/Makefile +++ b/share/examples/Makefile @@ -250,7 +250,7 @@ copies: symlinks: .for i in ${LDIRS} rm -rf ${DESTDIR}${BINDIR}/$i - ln -s ${.CURDIR}/$i ${DESTDIR}${BINDIR}/$i + ${INSTALL} ${TAG_ARGS} -l s ${.CURDIR}/$i ${DESTDIR}${BINDIR}/$i .endfor etc-examples: