Bug 96147 - [patch] devel/linuxthreads uses pre-install instead of pre-su-install
Summary: [patch] devel/linuxthreads uses pre-install instead of pre-su-install
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-21 18:00 UTC by Michael Neumann
Modified: 2008-05-09 04:26 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Neumann 2006-04-21 18:00:27 UTC
devel/linuxthreads uses pre-install to install some files and fails when running as normal user.

Fix: 

-pre-install:
+pre-su-install:
        ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 0755 ${PREFIX}/lib
        @cd ${WRKSRC}/libgcc_r ; \
                ${SETENV} ${MAKE_ENV} ${MAKE} install--HR5fsICPb4jZQhv4PMNKyOi9GR9tnIpnnnCDXyiGBJLfX83i
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.org        Fri Apr 21 18:43:47 2006
+++ Makefile    Fri Apr 21 18:43:59 2006
@@ -211,7 +211,7 @@
                ${SETENV} ${MAKE_ENV} ${MAKE}
 .endif
How-To-Repeat: cd /usr/ports/devel/linuxthreads && make install (as normal user)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-04-21 18:04:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->tegge

Over to maintainer
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2008-04-25 11:06:27 UTC
Responsible Changed
From-To: tegge->freebsd-ports-bugs

Maintainer was reset.
Comment 3 Felippe de Meirelles Motta freebsd_committer freebsd_triage 2008-05-09 04:26:21 UTC
State Changed
From-To: open->closed

For security issues, we *always* management our softwares as super user.