netatalk compiles "out of the box" with its own header files and does NOT

require the netatalk headers in openbsd source.
This commit is contained in:
brad 1999-05-25 03:00:45 +00:00
parent df508db5af
commit 13b330d05a

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 1999/05/24 02:33:58 brad Exp $
# $OpenBSD: Makefile,v 1.4 1999/05/25 03:00:45 brad Exp $
DISTNAME= netatalk-1.4b2
CATEGORIES= net
@ -11,22 +11,13 @@ MAINTAINER= ianm@cit.nepean.uws.edu.au
# Haven't tested kerberos support as there is no MacOS
# support for kerberos outside the US, so your on your
# own. Still need to add support for AFS. Will update
# the Port shortly. 1999/01/08. ianm@cit.nepean.uws.edu.au
# the Port shortly.
pre-configure:
@mkdir -p ${WRKSRC}/sys/openbsd
@cp ${FILESDIR}/sys-OpenBSD-Makefile ${WRKSRC}/sys/openbsd/Makefile
# This may cause problems if you don't have source installed. I'm
# just lazy and didn't want to patch most of netatalk's makefiles, .c
# and .h files. There's heaps that need fixing Maybe I will in the future.
@rm -rf ${WRKSRC}/include/netatalk
@ln -s /sys/netatalk ${WRKSRC}/include/netatalk
@rm -f ${WRKSRC}/sys/netatalk/*.h
post-install:
@if [ ! -a X"/etc/netatalk/AppleVolumes.system" ]; then \
@cp ${WRKSRC}/config/AppleVolumes.system /etc/netatalk; \
fi