Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/964

Submitted by:   mww@

removed need for beeing root to install (at least for destroot);

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4309 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Dec 27, 2003
1 parent 29b288b commit 44dbca7c49a26aa53393b3f2fc6c18743800a152
Showing with 7 additions and 9 deletions.
  1. +7 −9 devel/libcompat/Portfile
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.8 2003/08/14 10:07:32 wbb4 Exp $
# $Id: Portfile,v 1.9 2003/12/27 14:16:57 mww Exp $

PortSystem 1.0
name libcompat
@@ -13,14 +13,12 @@ master_sites http://distfiles.opendarwin.org/
checksums md5 4e0ddeec2be3a2c8caf24a3ed51b8501
build.type bsd
worksrcdir ${portname}
configure {}
use_configure no
patchfiles patch-Makefile
build.env LDADD=-install_name\\ ${prefix}/lib/libcompat.1.dylib

destroot { cd ${worksrcpath}
system "install -o root -m 755 -d ${destroot}${prefix}/lib"
system "install -o root -m 755 -c libcompat.1.dylib \
${destroot}${prefix}/lib"
system "ln -sf libcompat.1.dylib \
${destroot}${prefix}/lib/libcompat.dylib" }

destroot {
file copy ${worksrcpath}/libcompat.1.dylib ${destroot}${prefix}/lib
system "cd ${worksrcpath} && ln -sf libcompat.1.dylib \
${destroot}${prefix}/lib/libcompat.dylib"
}

0 comments on commit 44dbca7

Please sign in to comment.
You can’t perform that action at this time.