diff options
Diffstat (limited to 'chinese/wenju')
-rw-r--r-- | chinese/wenju/Makefile | 8 | ||||
-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 900437d92c8..62e537948a9 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 0c53f78ab71..0c53f78ab71 100644 --- a/chinese/wenju/files/patch-configure +++ b/chinese/wenju/files/configure-getopt.patch |