patch-Makefile 780 B

123456789101112131415161718192021222324
  1. $OpenBSD: patch-Makefile,v 1.1.1.1 2012/05/30 16:47:01 ajacoutot Exp $
  2. --- Makefile.orig Sun Nov 16 09:45:45 2008
  3. +++ Makefile Wed May 30 15:27:29 2012
  4. @@ -9,7 +9,7 @@
  5. # opposite of a disclaimer.
  6. #ALTERMIME_OPTIONS=-DALTERMIME_PRETEXT
  7. ALTERMIME_OPTIONS=
  8. -CFLAGS=-Wall -Werror -g -I. -O2 $(ALTERMIME_OPTIONS)
  9. +CFLAGS?=-Wall -Werror -g -I. -O2 $(ALTERMIME_OPTIONS)
  10. OBJS= strstack.o mime_alter.o ffget.o pldstr.o filename-filters.o logger.o MIME_headers.o libmime-decoders.o boundary-stack.o qpe.o
  11. @@ -24,9 +24,7 @@ altermime: altermime.c ${OBJS}
  12. # Build Install
  13. install: altermime
  14. - strip altermime
  15. - cp altermime /usr/local/bin
  16. - chmod a+rx /usr/local/bin/altermime
  17. + ${BSD_INSTALL_PROGRAM} altermime ${PREFIX}/bin
  18. uninstall:
  19. rm -f /usr/local/bin/altermime