ports/117916: Mk/bsd.port.mk: Reversed condition for setting --no-same-owner in extract

Anton Berezin tobez at FreeBSD.org
Thu Nov 8 10:59:15 UTC 2007


I would like to add that fixing this will probably make unnecessary code in
do-extract that does chmod/chown after extracting:

--- bsd.port.mk.orig2	2007-11-08 11:38:11.000000000 +0100
+++ bsd.port.mk	2007-11-08 11:38:17.000000000 +0100
@@ -3503,12 +3503,6 @@ do-extract:
 			exit 1; \
 		fi; \
 	done
-.if !defined(EXTRACT_PRESERVE_OWNERSHIP)
-	@if [ `${ID} -u` = 0 ]; then \
-		${CHMOD} -R ug-s ${WRKDIR}; \
-		${CHOWN} -R 0:0 ${WRKDIR}; \
-	fi
-.endif
 .endif
 
 # Patch

-- 
We're going for 'working' here. 'clean' is for people with skills...
-- Flemming Jacobsen



More information about the freebsd-ports-bugs mailing list