At 9:06 AM -0700 2001/08/14, J.C. Roberts wrote:
>I'm trying to get klaptopdaemon from the kdeutils collection working
>on OpenBSD. It will basically require me to write a patch for the
>program that does the same thing as apm and need to use a couple of
>the apmd header files that are not installed in /usr/include/machine/
>
>Is it OK to put these two header files in the port and copy them into
>the ${WKSDIST} dir via the configure script or is there a better way
>to do this? I figure if someone doesn't have /usr/src installed on the
>machine (or it's installed elsewhere) hard coded paths would break.
>
Currently the Netatalk port copies header files into ${WRKSRC}
post-patch:
@rm -rf ${WRKSRC}/include/netatalk
@ln -sf /usr/include/netatalk ${WRKSRC}/include/netatalk
@rm -f ${WRKSRC}/sys/netatalk/*.h
So something similar should work the same.
_________________________________
Ian McWilliam.
Technical Officer,
School of Computing & IT
University of Western Sydney
Locked Bag 1797
Penrith South DC N.S.W,
Australia 1797.
mailto:ianm@cit.uws.edu.au
mailto:i.mcwilliam@uws.edu.au
Telephone: 61 247360 757
Fax: 61 247360 770
__________________________________
|