From owner-freebsd-ports Sat Nov 27 6:55: 6 1999 Delivered-To: freebsd-ports@freebsd.org Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103]) by hub.freebsd.org (Postfix) with ESMTP id 988DB14DCF for ; Sat, 27 Nov 1999 06:55:03 -0800 (PST) (envelope-from van.woerkom@netcologne.de) Received: from oranje.my.domain (dial-ra-nc4-93.netcologne.de [195.14.254.93]) by mail2.netcologne.de (8.9.3/8.9.3) with ESMTP id PAA25124; Sat, 27 Nov 1999 15:55:01 +0100 (MET) Received: (from marc@localhost) by oranje.my.domain (8.9.3/8.9.3) id PAA00924; Sat, 27 Nov 1999 15:54:06 +0100 (CET) (envelope-from van.woerkom@netcologne.de) Date: Sat, 27 Nov 1999 15:54:06 +0100 (CET) Message-Id: <199911271454.PAA00924@oranje.my.domain> X-Authentication-Warning: oranje.my.domain: marc set sender to van.woerkom@netcologne.de using -f From: Marc van Woerkom To: freebsd-ports@freebsd.org Subject: INSTALL_PROGRAM considered harmful for Linux apps Reply-To: van.woerkom@netcologne.de Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In case it is not already in the handbook, could some add a remark to the INSTALL_PROGRAM makro, or even better think of some way to make it foolproof? Im just testing the q3test port, and got a dozen of reboots due to the fact that I used INSTALL_PROGRAM for executables and shared libs: This makro will not only install, but also strip the binaries! Good in case of FreeBSD native stuff, very bad in case of Linux, because the branding information gets stripped as well BIGBADABOOM! I resorted to INSTALL_DATA plus CHMOD u+rx for the meanwhile. Regards, Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message