summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-02-16 12:18:54 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-02-16 12:18:54 +0800
commit7ad33e446555fac518f1d5740879c82e58501458 (patch)
tree23b0e70fcfcd3651832b0d5a246fe3af00decb49 /devel
parenta8d7826604a9151f59604534d5d004a08f278c35 (diff)
downloadmarcuscom-ports-7ad33e446555fac518f1d5740879c82e58501458.tar
marcuscom-ports-7ad33e446555fac518f1d5740879c82e58501458.tar.gz
marcuscom-ports-7ad33e446555fac518f1d5740879c82e58501458.tar.bz2
marcuscom-ports-7ad33e446555fac518f1d5740879c82e58501458.tar.lz
marcuscom-ports-7ad33e446555fac518f1d5740879c82e58501458.tar.xz
marcuscom-ports-7ad33e446555fac518f1d5740879c82e58501458.tar.zst
marcuscom-ports-7ad33e446555fac518f1d5740879c82e58501458.zip
Update it with no bump need.
http://www.lovett.com/ade/freebsd/gettext-4.diff The changes are only fix with gmkdir issue and remove FreeBSD 4.x support. Submitted by: ade git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8361 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r--devel/gettext/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/devel/gettext/Makefile b/devel/gettext/Makefile
index 70d5a27e7..3e6aa4c46 100644
--- a/devel/gettext/Makefile
+++ b/devel/gettext/Makefile
@@ -3,7 +3,7 @@
# Whom: Yukihiro Nakai <Nakai@technologist.com>
#
# $FreeBSD: ports/devel/gettext/Makefile,v 1.74 2006/02/23 10:35:39 ade Exp $
-# $MCom$
+# $MCom: ports/devel/gettext/Makefile,v 1.6 2007/02/01 10:05:40 pav Exp $
#
PORTNAME= gettext
@@ -48,17 +48,10 @@ INFO= autosprintf gettext
to "make". Please unset it and restart the build.
.endif
-.include <bsd.port.pre.mk>
-
.if defined (NOPORTDOCS)
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-nodocs
.endif
-.if ${OSVERSION} < 500000
-CONFIGURE_ARGS+= --with-libexpat-prefix=${LOCALBASE}/lib
-LIB_DEPENDS+= expat.6:${PORTSDIR}/textproc/expat2
-.endif
-
pre-extract:
.if exists(${PREFIX}/bin/kaffe)
@${ECHO_MSG} "Gettext won't build with Kaffe's jar utility. Doing:"
@@ -68,8 +61,10 @@ pre-extract:
@sleep 5
.endif
-.if defined (NOPORTDOCS)
post-patch:
+ @${FIND} ${WRKSRC} -name configure -print | ${XARGS} \
+ ${REINPLACE_CMD} -e 's|mkdir gmkdir|mkdir|'
+.if defined (NOPORTDOCS)
.for dir in runtime tools
@${REINPLACE_CMD} -e 's|^SUBDIRS = doc|SUBDIRS =|' \
${WRKSRC}/gettext-${dir}/Makefile.in
@@ -92,4 +87,4 @@ post-install:
@${MKDIR} ${X11BASE}/share/locale
@cd ${WRKSRC}/gettext-tools/doc && make install-info-am
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>