aboutsummaryrefslogtreecommitdiff
path: root/devel/apr0/Makefile
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2004-11-25 04:54:14 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2004-11-25 04:54:14 +0000
commit6c747fd2e417169ae0451729e103a720a1d542fa (patch)
tree95d47d13ce4020fb4b3621d7914028117b84623a /devel/apr0/Makefile
parent116cac02f93cc9e2a9f561fe37bd6496164d7d2e (diff)
downloadports-6c747fd2e417169ae0451729e103a720a1d542fa.tar.gz
ports-6c747fd2e417169ae0451729e103a720a1d542fa.zip
Notes
Diffstat (limited to 'devel/apr0/Makefile')
-rw-r--r--devel/apr0/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/devel/apr0/Makefile b/devel/apr0/Makefile
index 8f9710b5aea2..d533bfcd1f81 100644
--- a/devel/apr0/Makefile
+++ b/devel/apr0/Makefile
@@ -17,7 +17,8 @@
PORTNAME= apr
PORTVERSION= 1.0.1
CATEGORIES= devel
-MASTER_SITES= http://www.apache.org/dist/apr/
+MASTER_SITES= ${MASTER_SITE_APACHE}
+MASTER_SITE_SUBDIR= apr
DISTFILES= apr-${PORTVERSION}.tar.gz apr-util-${PORTVERSION}.tar.gz
MAINTAINER= rodrigc@crodrigues.org
@@ -30,6 +31,7 @@ USE_ICONV= yes
USE_AUTOMAKE_VER= 19
USE_AUTOCONF_VER= 259
WANT_LIBTOOL_VER= 15
+USE_REINPLACE= yes
USE_PERL5= yes
USE_GMAKE= yes
USE_PYTHON= yes
@@ -124,8 +126,10 @@ pre-extract:
@${ECHO_MSG} ""
post-patch:
- sed -i .orig1 's/OSVERSION/'${OSVERSION}'/g' \
+ ${SED} -i .orig1 's/OSVERSION/'${OSVERSION}'/g' \
${WRKDIR}/apr-${PORTVERSION}/build/apr_hints.m4
+ ${FIND} ${WRKDIR} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
pre-configure:
.for d in apr apr-util
@@ -160,15 +164,15 @@ do-install:
cd ${WRKDIR}/apr-util-${PORTVERSION}; ${SETENV} ${MAKE_ENV} ${GMAKE} install
debug_autoconf:
- @echo "LIBTOOL: ${LIBTOOL_VERSION}"
- @echo "AUTOCONF: dev ${dev_acver} cur ${cur_acver} use ${use_acver}"
- @echo "AUTOMAKE: dev ${dev_amver} cur ${cur_amver} use ${use_amver}"
+ @echo "LIBTOOL: ${LIBTOOL_VERSION}"
+ @echo "AUTOCONF: dev ${dev_acver} cur ${cur_acver} use ${use_acver}"
+ @echo "AUTOMAKE: dev ${dev_amver} cur ${cur_amver} use ${use_amver}"
@echo "AUTOCONF_DIR: ${AUTOCONF_DIR}"
@echo "BUILD_DEPENDS: ${BUILD_DEPENDS}"
@echo "ACLOCAL_DIR: ${ACLOCAL_DIR}"
@echo "LIBTOOLFILES: ${LIBTOOLFILES}"
- @echo "LIBTOOL_SHAREDIR: ${LIBTOOL_SHAREDIR}"
- @echo "LIBTOOL_LIBEXECDIR: ${LIBTOOL_LIBEXECDIR}"
- @echo "LIBTOOL_M4: ${LIBTOOL_M4}"
+ @echo "LIBTOOL_SHAREDIR: ${LIBTOOL_SHAREDIR}"
+ @echo "LIBTOOL_LIBEXECDIR: ${LIBTOOL_LIBEXECDIR}"
+ @echo "LIBTOOL_M4: ${LIBTOOL_M4}"
.include <bsd.port.post.mk>