Changeset 11821


Ignore:
Timestamp:
Apr 15, 2005, 8:24:28 PM (15 years ago)
Author:
cjr
Message:

Avoid linking against LDAP.framework, patch libtool, and use xinstall. Generally make work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/openldap/Portfile

    r10824 r11821  
    1 # $Id: Portfile,v 1.10 2005/02/04 00:29:57 landonf Exp $
     1# $Id: Portfile,v 1.11 2005/04/15 20:24:28 cjr Exp $
    22
    33PortSystem 1.0
     
    2222depends_run     path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup
    2323
    24 configure.env   LDFLAGS="-L${prefix}/lib -L/usr/lib" \
     24patchfiles      patch-ltmain
     25
     26configure.env   LDFLAGS="-L${prefix}/lib" \
    2527                CPPFLAGS="-I${prefix}/include -I${prefix}/include/db4 -I/usr/include/openssl -DBIND_8_COMPAT" \
    2628                LANG=C
     
    8082
    8183post-destroot {
    82         file mkdir ${destroot}${prefix}/var/run
    83         system "install -o ldap -g ldap -m 700 -d ${destroot}${prefix}/var/run/openldap-data"
     84        xinstall -d -g ldap -m 700 -o ldap \
     85                "${destroot}${prefix}/var/run/openldap-data"
    8486        #since post-deploy doesn't exist
    85         system "install -o ldap -g ldap -m 700 -d ${prefix}/var/run/openldap-data"
    86 
    87         file mkdir ${destroot}${prefix}/etc/rc.d
    88         system "install -o root -m 755 -c \
    89                       ${portpath}/files/*.sh ${destroot}${prefix}/etc/rc.d"
    90         reinplace "s|__PREFIX|${prefix}|g" ${destroot}${prefix}/etc/rc.d/slapd.sh
     87        xinstall -d -m 755 -o root "${destroot}${prefix}/etc/rc.d"
     88        xinstall -m 755 -o root "${portpath}/files/slapd.sh" \
     89                "${destroot}${prefix}/etc/rc.d"
     90        reinplace "s|__PREFIX|${prefix}|g" \
     91                ${destroot}${prefix}/etc/rc.d/slapd.sh
    9192}
Note: See TracChangeset for help on using the changeset viewer.