aboutsummaryrefslogtreecommitdiffstats
path: root/www/w3m/Makefile
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2002-03-31 23:52:04 +0800
committernobutaka <nobutaka@FreeBSD.org>2002-03-31 23:52:04 +0800
commit76c926fedc3673c8ef757ae209fbb16beedaa7c0 (patch)
treeb094dddde4d72c2709eb2a01c4b05c0fe2176a80 /www/w3m/Makefile
parent30db1614d4ed1422989b7c1f8600e0ec6d63bb14 (diff)
downloadfreebsd-ports-gnome-76c926fedc3673c8ef757ae209fbb16beedaa7c0.tar.gz
freebsd-ports-gnome-76c926fedc3673c8ef757ae209fbb16beedaa7c0.tar.zst
freebsd-ports-gnome-76c926fedc3673c8ef757ae209fbb16beedaa7c0.zip
Fix build error on -current. (*)
Remove useless post-extract target and post-patch target. Submitted by: Masahide -mac- NODA <mac@clave.gr.jp> (*)
Diffstat (limited to 'www/w3m/Makefile')
-rw-r--r--www/w3m/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/www/w3m/Makefile b/www/w3m/Makefile
index feb1bf7e5f48..784a0c5db261 100644
--- a/www/w3m/Makefile
+++ b/www/w3m/Makefile
@@ -60,6 +60,8 @@ CONFIGURE_ARGS+= --suffix=""
PLIST_SUB+= M17N_ONLY="" NO_M17N="@comment "
.else
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-configure-no-m17n \
+ ${PATCHDIR}/extra-patch-etc.c-no-m17n
PLIST_SUB+= M17N_ONLY="@comment " NO_M17N=""
.endif
@@ -71,6 +73,7 @@ DOCS_JP= ${DOCS} README.SSL README.cookie \
README.keymap README.mailcap README.menu
PLIST_SUB+= JAPANESE_ONLY=""
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-search.c-japanese
.else
PLIST_SUB+= JAPANESE_ONLY="@comment "
.endif
@@ -92,6 +95,8 @@ DOCS+= README.img
DOCS_JP+= README.img
PLIST_SUB+= INLINE_IMAGE_ONLY=""
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-image.c-img
+
PKGMESSAGE= ${MASTERDIR}/pkg-message
.else
PLIST_SUB+= INLINE_IMAGE_ONLY="@comment "
@@ -100,6 +105,10 @@ PLIST_SUB+= INLINE_IMAGE_ONLY="@comment "
PKGMESSAGE= ${NONEXISTENT}
.endif
+.if defined(M17N)
+.undef EXTRA_PATCHES
+.endif
+
pre-everything::
.if defined(M17N)
@${ECHO_MSG} "====>"
@@ -113,18 +122,6 @@ pre-extract:
@${ECHO_MSG} "You can disable support for SSL by defining WITHOUT_SSL."
.endif
-post-extract:
-.if defined(INLINE_IMAGE) && !defined(M17N)
- ${SED} -e "s,w3m/0.2.5,w3m/0.2.4+cvs," < ${WRKSRC}/version.c.in > ${WRKSRC}/version.c.in.tmp
- ${MV} ${WRKSRC}/version.c.in.tmp ${WRKSRC}/version.c.in
-.endif
-
-post-patch:
-.if defined(INLINE_IMAGE) && !defined(M17N)
- ${SED} -e "s,w3m/0.2.4+cvs-img-2.2,w3m/0.2.5-img-2.2," < ${WRKSRC}/version.c.in > ${WRKSRC}/version.c.in.tmp
- ${MV} ${WRKSRC}/version.c.in.tmp ${WRKSRC}/version.c.in
-.endif
-
post-install:
.if !defined(NOPORTDOCS)
.if defined(JAPANESE)