exim-4.82-makefile-freebsd.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --- OS/Makefile-FreeBSD.orig 2013-09-30 19:59:09.000000000 +0200
  2. +++ OS/Makefile-FreeBSD 2013-09-30 20:01:22.000000000 +0200
  3. @@ -1,10 +1,8 @@
  4. -# Exim: OS-specific make file for FreeBSD
  5. -# There's no setting of CFLAGS here, to allow the system default
  6. -# for "make" to be the default.
  7. -
  8. -CHOWN_COMMAND=/usr/sbin/chown
  9. -STRIP_COMMAND=/usr/bin/strip
  10. -CHMOD_COMMAND=/bin/chmod
  11. +# Exim: OS-specific FreeBSD make file, modified for Gentoo Prefix
  12. +
  13. +CHOWN_COMMAND=look_for_it
  14. +STRIP_COMMAND=
  15. +CHMOD_COMMAND=look_for_it
  16. HAVE_SA_LEN=YES
  17. @@ -15,17 +13,9 @@
  18. CFLAGS_DYNAMIC=-shared -rdynamic -fPIC
  19. # FreeBSD always ships with Berkeley DB
  20. +DBMLIB = -ldb
  21. USE_DB=yes
  22. -# This code for building outside ports suggested by Richard Clayton
  23. -.ifdef X11BASE
  24. -X11=${X11BASE}
  25. -.elifdef LOCALBASE
  26. -X11=$(LOCALBASE)
  27. -.else
  28. -X11=/usr/local
  29. -.endif
  30. -
  31. # nb: FreeBSD is entirely elf; objformat was removed prior to FreeBSD 7
  32. # http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/objformat/Attic/objformat.c
  33. # deleted Jan 2007.
  34. @@ -37,6 +27,7 @@
  35. # switch to default to ELF came with FreeBSD 3. elf(5) claims ELF support
  36. # introduced in FreeBSD 2.2.6.
  37. #
  38. +X11=/usr/X11R6
  39. XINCLUDE=-I$(X11)/include
  40. XLFLAGS=-L$(X11)/lib -Wl,-rpath,${X11}/lib
  41. X11_LD_LIB=$(X11)/lib