diff options
-rw-r--r-- | sysutils/msyslog/Makefile | 6 | ||||
-rw-r--r-- | sysutils/msyslog/distinfo | 2 | ||||
-rw-r--r-- | sysutils/msyslog/files/patch-configure.in | 9 |
3 files changed, 10 insertions, 7 deletions
diff --git a/sysutils/msyslog/Makefile b/sysutils/msyslog/Makefile index 11941c9..0aeb14e6 100644 --- a/sysutils/msyslog/Makefile +++ b/sysutils/msyslog/Makefile @@ -6,10 +6,10 @@ # PORTNAME= msyslog -PORTVERSION= 1.04b +PORTVERSION= 1.04d CATEGORIES= sysutils MASTER_SITES= http://www.core-sdi.com/soft/ -DISTNAME= ${PORTNAME}-v${PORTVERSION:S/b//} +DISTNAME= ${PORTNAME}-v${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= anders@fix.no @@ -47,6 +47,8 @@ DOCDIR= ${PREFIX}/share/doc/${PORTNAME} FIXPREFIX= README src/man/om_peo.8 src/man/syslog.conf.5 \ src/man/syslogd.8 src/TODO src/syslogd.h +WRKSRC= ${WRKDIR}/releases/${DISTNAME} + pre-patch: .for f in ${FIXPREFIX} ${PERL} -pi -e "s|/etc/syslog.conf|${PREFIX}/etc/syslog.conf|g" \ diff --git a/sysutils/msyslog/distinfo b/sysutils/msyslog/distinfo index c139cd2..8bf6977 100644 --- a/sysutils/msyslog/distinfo +++ b/sysutils/msyslog/distinfo @@ -1 +1 @@ -MD5 (msyslog-v1.04.tgz) = 441387853471fd418fd1ad3e03a084ec +MD5 (msyslog-v1.04d.tgz) = 4a854a95ca33e433252f4600bafc569e diff --git a/sysutils/msyslog/files/patch-configure.in b/sysutils/msyslog/files/patch-configure.in index ed23a19..826266d 100644 --- a/sysutils/msyslog/files/patch-configure.in +++ b/sysutils/msyslog/files/patch-configure.in @@ -1,5 +1,5 @@ ---- configure.in.orig Tue May 1 04:25:49 2001 -+++ configure.in Mon May 14 00:23:17 2001 +--- configure.in.orig Wed May 30 02:08:44 2001 ++++ configure.in Sun Jun 3 19:50:11 2001 @@ -57,7 +57,7 @@ AC_DEFINE_UNQUOTED(MSYSLOG_VERSION_STR, "$MSYSLOG_VERSION")dnl echo msyslog version... $MSYSLOG_VERSION @@ -24,15 +24,16 @@ AC_CHECK_LIB(socket, connect, SYSLOGD_LIBS="$SYSLOGD_LIBS -lsocket")dnl AC_CHECK_LIB(nsl, gethostbyname, SYSLOGD_LIBS="$SYSLOGD_LIBS -lnsl")dnl AC_DEFINE(SYSLOGD_LIBS, $SYSLOGD_LIBS)dnl -@@ -155,6 +155,11 @@ +@@ -153,6 +153,12 @@ AC_DEFINE_UNQUOTED(SYMBOL_PREFIX, "_")dnl SHARED_PARAMS="-Bshareable" DCCFLAGS="-fPIC" +elif test "$UNAME" = "FreeBSD" ; then + AC_DEFINE(DLOPEN_FLAGS, RTLD_LAZY)dnl ++ AC_DEFINE_UNQUOTED(SYMBOL_PREFIX, "")dnl + SHARED_PARAMS="-Bshareable" + DCCFLAGS="-fPIC" + SYSLOGD_LIBS="$SYSLOGD_LIBS -Wl,-E" elif test "$UNAME" = "Linux" ; then AC_DEFINE(DLOPEN_FLAGS, RTLD_LAZY | RTLD_GLOBAL)dnl - MAIN_CPPFLAGS="-Xlinker -E"; + AC_DEFINE_UNQUOTED(SYMBOL_PREFIX, "")dnl |