summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2003-11-16 04:22:17 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2003-11-16 04:22:17 +0000
commit460caa4faa9307dd4336b7a0faa377fcb73bad58 (patch)
tree87f578255bc499cd14999a37a0b70fa67a4d55ae /chinese
parent- upgrade of NET::LDAP to 0.30 (diff)
Fix build on -current.
Noticed by: kris@
Notes
Notes: svn path=/head/; revision=94081
Diffstat (limited to 'chinese')
-rw-r--r--chinese/wenju/Makefile8
-rw-r--r--chinese/wenju/files/configure-getopt.patch (renamed from chinese/wenju/files/patch-configure)0
2 files changed, 7 insertions, 1 deletions
diff --git a/chinese/wenju/Makefile b/chinese/wenju/Makefile
index 900437d92c8f..62e537948a98 100644
--- a/chinese/wenju/Makefile
+++ b/chinese/wenju/Makefile
@@ -25,4 +25,10 @@ USE_LIBTOOL= yes
post-install:
gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500041
+PATCHFILES+= configure-getopt.patch
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/chinese/wenju/files/patch-configure b/chinese/wenju/files/configure-getopt.patch
index 0c53f78ab71f..0c53f78ab71f 100644
--- a/chinese/wenju/files/patch-configure
+++ b/chinese/wenju/files/configure-getopt.patch