openbsd-ports/net/netatalk/patches/patch-binmegatron-makefile
brad f22b2212e6 - Fake
- add HOMEPAGE, another distsite, NEED_VERSION and some more docs
- respect CC and CFLAGS
- move RESDIR from share to share/netatalk
- move examples from lib/netatalk to share/examples/netatalk
- remove the need for having the source tree installed, just use the
headers in /usr/include/netatalk
2000-08-10 17:53:31 +00:00

17 lines
491 B
Plaintext

--- bin/megatron/Makefile.orig Wed Aug 9 08:20:05 2000
+++ bin/megatron/Makefile Wed Aug 9 08:21:26 2000
@@ -18,10 +18,10 @@
${CC} ${CFLAGS} -o ${TARGET} ${OBJ} ${LIBDIRS} ${LIBS}
install : all
- ${INSTALL} -c ${TARGET} ${BINDIR}
+ ${INSTALL} -c ${TARGET} ${DESTDIR}${BINDIR}
for i in ${LINKS} ; do \
- rm -f ${BINDIR}/$$i; \
- ln -s ${TARGET} ${BINDIR}/$$i; \
+ rm -f ${DESTDIR}${BINDIR}/$$i; \
+ cd ${DESTDIR}${BINDIR} && ln -sf ${TARGET} $$i; \
done
clean :