Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2012 11:10:27 -0500
From:      Eitan Adler <lists@eitanadler.com>
To:        Paul Schmehl <pschmehl_lists@tx.rr.com>
Cc:        Da Rock <freebsd-ports@herveybayaustralia.com.au>, freebsd-ports@freebsd.org
Subject:   Re: linux-f10-nss_ldap: my first port - be gentle :)
Message-ID:  <CAF6rxgmYfKm=qYJXJfAJniyuxA1jm6zX=m9KP9YBqCmmse8ykQ@mail.gmail.com>
In-Reply-To: <EBA4CEA9D06CDF6C3E6F5095@utd71538.utdallas.edu>
References:  <4F0446B7.4090703@herveybayaustralia.com.au> <20120104142757.1c77c347@ernst.jennejohn.org> <4F04E648.9090206@herveybayaustralia.com.au> <20120105121825.656677e4@ernst.jennejohn.org> <20120106221610.00005fbe@unknown> <CADLo83-YUtUgAw_r2QNpB2mPxbvPfV0vCRMih-ncAQBCWj73LQ@mail.gmail.com> <20120108160316.00003d59@unknown> <4F0A8164.9090502@herveybayaustralia.com.au> <20120110221115.00007dc1@unknown> <4F0CDB5B.9030402@herveybayaustralia.com.au> <EBA4CEA9D06CDF6C3E6F5095@utd71538.utdallas.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 11, 2012 at 10:37 AM, Paul Schmehl <pschmehl_lists@tx.rr.com> w=
rote:
> --On January 11, 2012 10:44:11 AM +1000 Da Rock
> <freebsd-ports@herveybayaustralia.com.au> wrote:
>>
>>
>> My last problem is with the define knobs. I have an .if defined(WITH_PAM=
)
>> .else ... .endif statement, but it keeps giving me trouble. I can't quit=
e
>> figure what I've got wrong. The statement looks like this:
>>
>> post-extract:
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .if defined(WITH=
_PAM)
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PL=
IST_FILES+=3Dlib/security/pam_ldap.so
>>
>>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .else
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 @i=
f [ -f ${WRKDIR}/lib/security/pam_ldap.so ]; then \
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 ${RM} ${WRKDIR}/lib/security/pam_ldap.so
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 ${DIRRM} ${WRKDIR}/lib/;
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fi
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^^^^=
^
>
> This is what's wrong. =C2=A0In port Makefiles, it's .if, .else, .endif no=
t fi.

You need both: .endif and fi in this case (the 'fi' is part of the shell sc=
ript)


--=20
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgmYfKm=qYJXJfAJniyuxA1jm6zX=m9KP9YBqCmmse8ykQ>