Date: Wed, 11 Jan 2012 09:37:17 -0600 From: Paul Schmehl <pschmehl_lists@tx.rr.com> To: Da Rock <freebsd-ports@herveybayaustralia.com.au>, freebsd-ports@freebsd.org Subject: Re: linux-f10-nss_ldap: my first port - be gentle :) Message-ID: <EBA4CEA9D06CDF6C3E6F5095@utd71538.utdallas.edu> In-Reply-To: <4F0CDB5B.9030402@herveybayaustralia.com.au> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 quite > figure what I've got wrong. The statement looks like this: > > post-extract: > .if defined(WITH_PAM) > PLIST_FILES+=lib/security/pam_ldap.so > > .else > @if [ -f ${WRKDIR}/lib/security/pam_ldap.so ]; then \ > ${RM} ${WRKDIR}/lib/security/pam_ldap.so > ${DIRRM} ${WRKDIR}/lib/; > fi ^^^^^ This is what's wrong. In port Makefiles, it's .if, .else, .endif not fi. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EBA4CEA9D06CDF6C3E6F5095>