pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc/mail/sendmail anomalies



I updated the patchset here http://www.netbsd.org/~richard/sendmail.diff
(having already pushed the sunos -lresolv and smf problem) to simplify.

There is one thing for NetBSD that I didn't pickup in site.config.m4 from patch-aa, and that is the line suppressing the following in devtools/OS/NetBSD:
define(`confENVDEF', ` -DNETISO')

So I propose as well in my patchset to do as OpenBSD did, that is patching to 'include/sm/conf.h':
@@ -21,6 +21,9 @@ $NetBSD: patch-ag,v 1.14 2012/03/12 12:53:13 fhajny Exp $
 +#  else
 +#   define SFS_TYPE   SFS_MOUNT       /* use <sys/mount.h> statfs() impl */
 +#  endif
++#  if defined(__NetBSD__)
++#   undef NETISO           /* override any devtools/OS/NetBSD setting */
++#  endif
  #  define SPT_TYPE    SPT_PSSTRINGS   /* use PS_STRINGS pointer */
  # endif /* defined(BSD4_4) && !defined(__bsdi__) && !defined(__GNU__) && 
!defined(DARWIN)*/


My question is should this be as above (such as current pkgsrc) or is there a particular version to stop its use...

I should mention as well that if there is any particular problem with fixing the following paths in Makefile:

+SUBST_SED.cf-paths+=   -e "s|/var/spool|${VARBASE}/spool|g"
+SUBST_SED.cf-paths+=   -e "s|/var/run|${VARBASE}/run|g"

VARBASE is typically '/var' on Illumos platforms, so it is not really crucial.

cheers



Home | Main Index | Thread Index | Old Index