pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/radiusd-cistron Remove malloc.h hack, which was re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e2bee3d4936
branches:  trunk
changeset: 532109:2e2bee3d4936
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Aug 11 16:51:27 2007 +0000

description:
Remove malloc.h hack, which was replaced by a single patch.
Depend on and fix path to Perl in installed script.
Bump revision.

diffstat:

 net/radiusd-cistron/Makefile |  15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)

diffs (36 lines):

diff -r d885411b58bc -r 2e2bee3d4936 net/radiusd-cistron/Makefile
--- a/net/radiusd-cistron/Makefile      Sat Aug 11 16:45:52 2007 +0000
+++ b/net/radiusd-cistron/Makefile      Sat Aug 11 16:51:27 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2007/03/24 19:21:30 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2007/08/11 16:51:27 joerg Exp $
 
 DISTNAME=      radiusd-cistron-1.6.7
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    net
 MASTER_SITES=  ftp://ftp.cistron.nl/pub/people/miquels/radius/ \
                ftp://ftp.freeradius.org/pub/radius/
@@ -12,6 +12,9 @@
 
 CONFLICTS+=    freeradius-[0-9]*
 
+USE_TOOLS+=    perl:run
+
+REPLACE_PERL=  src/checkrad.pl
 
 MAKE_FILE=     Makefile.BSD
 BUILD_DIRS=    ${WRKSRC}/src
@@ -53,12 +56,4 @@
        ${INSTALL_MAN} ${WRKSRC}/doc/${i} ${PREFIX}/${PKGMANDIR}/man8/
 .endfor
 
-# The sources assume <malloc.h> exists.  Create a fake one for platforms
-# that don't have it.
-post-wrapper:
-       if ${TEST} ! -f /usr/include/malloc.h; then             \
-               ${ECHO} "#include <stdlib.h>"                   \
-                       > ${BUILDLINK_DIR}/include/malloc.h;    \
-       fi
-
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index