diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-08 18:20:30 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-08 18:20:30 +0000 |
commit | 05b3e09f1497ba58c4a496965a421ad938277723 (patch) | |
tree | 58142bdcea847886b08e587349678ea82c2b4e5e | |
parent | bfa599058b256dff622e383076f305860d7d63b0 (diff) | |
download | pkgsrc-05b3e09f1497ba58c4a496965a421ad938277723.tar.gz |
Use FreeBSD config for DragonFly and teach the host include header
about it.
-rw-r--r-- | mail/dkim-milter/Makefile | 5 | ||||
-rw-r--r-- | mail/dkim-milter/distinfo | 3 | ||||
-rw-r--r-- | mail/dkim-milter/patches/patch-ac | 33 |
3 files changed, 39 insertions, 2 deletions
diff --git a/mail/dkim-milter/Makefile b/mail/dkim-milter/Makefile index 56854507fa6..232dbc9851b 100644 --- a/mail/dkim-milter/Makefile +++ b/mail/dkim-milter/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2005/12/29 06:21:48 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2006/01/08 18:20:30 joerg Exp $ DISTNAME= dkim-milter-0.1.1 CATEGORIES= mail @@ -25,6 +25,9 @@ SUBST_SED.libs= -e 's|@SSLBASE@|${BUILDLINK_PREFIX.openssl}|g' \ -e 's|@PTHREAD_LDFLAGS@|${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}|g' SUBST_MESSAGE.libs= "Fixing makefile references." +post-extract: + ${LN} -s FreeBSD ${WRKSRC}/devtools/OS/DragonFly + do-build: @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./Build) diff --git a/mail/dkim-milter/distinfo b/mail/dkim-milter/distinfo index 994e0cbb2e1..94a2e8812b3 100644 --- a/mail/dkim-milter/distinfo +++ b/mail/dkim-milter/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.1.1.1 2005/10/27 19:49:07 minskim Exp $ +$NetBSD: distinfo,v 1.2 2006/01/08 18:20:30 joerg Exp $ SHA1 (dkim-milter-0.1.1.tar.gz) = 6bfb5a3b7530864e09ed55b343fd747c78ddb2fa RMD160 (dkim-milter-0.1.1.tar.gz) = c8fae0456b8418ebeafdf6a5be22a86415b74578 Size (dkim-milter-0.1.1.tar.gz) = 312318 bytes SHA1 (patch-aa) = 1d20c660bba8f6a754ca343434daf021559b41bd SHA1 (patch-ab) = f254cbee630fb18fc7f18daffd689753eb9dd467 +SHA1 (patch-ac) = 403e565640e3a67f26f04d9df5bb0833305d308a diff --git a/mail/dkim-milter/patches/patch-ac b/mail/dkim-milter/patches/patch-ac new file mode 100644 index 00000000000..851334121d2 --- /dev/null +++ b/mail/dkim-milter/patches/patch-ac @@ -0,0 +1,33 @@ +$NetBSD: patch-ac,v 1.1 2006/01/08 18:20:30 joerg Exp $ + +--- include/sm/os/sm_os_freebsd.h.orig 2006-01-08 18:09:08.000000000 +0000 ++++ include/sm/os/sm_os_freebsd.h +@@ -13,10 +13,18 @@ + ** Platform definitions for FreeBSD + */ + +-#define SM_OS_NAME "freebsd" +- + #define SM_CONF_SYS_CDEFS_H 1 + ++#ifdef __DragonFly__) ++#define SM_OS_NAME "dragonfly" ++#define MI_SOMAXCONN -1 ++#ifndef SM_CONF_STRL ++# define SM_CONF_STRL 1 ++#endif ++ ++#else ++#define SM_OS_NAME "freebsd" ++ + #if __FreeBSD__ >= 2 + # include <osreldate.h> /* defines __FreeBSD_version */ + # if __FreeBSD_version >= 199512 /* 2.2-current when it appeared */ +@@ -29,6 +37,7 @@ + # endif + # endif + #endif ++#endif + + #ifndef SM_CONF_SHM + # define SM_CONF_SHM 1 |