summaryrefslogtreecommitdiff
path: root/devel/apr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/apr/Makefile')
-rw-r--r--devel/apr/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/devel/apr/Makefile b/devel/apr/Makefile
index 15f8671edf5..b45def3397a 100644
--- a/devel/apr/Makefile
+++ b/devel/apr/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.60 2009/12/02 11:36:27 fhajny Exp $
+# $NetBSD: Makefile,v 1.61 2010/11/01 17:20:03 adam Exp $
-DISTNAME= apr-1.3.9
+DISTNAME= apr-1.4.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_APACHE:=apr/}
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://apr.apache.org/
@@ -13,15 +14,12 @@ PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
-GNU_CONFIGURE= yes
USE_LIBTOOL= yes
-USE_TOOLS+= pkg-config
-
+USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= apr.pc.in
-
-CONFIGURE_ARGS+= \
- --with-devrandom=/dev/urandom \
- --with-installbuilddir=${PREFIX}/libexec/apr
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-devrandom=/dev/urandom
+CONFIGURE_ARGS+= --with-installbuilddir=${PREFIX}/libexec/apr
CONFIGURE_ENV+= LIBS=${LIBS:M*:Q}
LIBS.SunOS+= -lnsl
@@ -29,7 +27,6 @@ TEST_TARGET= check
post-install:
${RM} ${DESTDIR}${PREFIX}/libexec/apr/libtool
- ${INSTALL_SCRIPT} ${PKG_LIBTOOL} \
- ${DESTDIR}${PREFIX}/libexec/apr/libtool
+ ${INSTALL_SCRIPT} ${PKG_LIBTOOL} ${DESTDIR}${PREFIX}/libexec/apr/libtool
.include "../../mk/bsd.pkg.mk"