diff options
author | vanilla <vanilla@FreeBSD.org> | 2003-11-16 12:22:17 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2003-11-16 12:22:17 +0800 |
commit | 9b3541ffaa5664f09ebb82f210556b03ecc2c70b (patch) | |
tree | 9456ffb1dce3e6ba6982f02fc1ad1fab715465c4 /chinese/wenju | |
parent | 10b6515cb6b9999d0261235f39d6aa6b615dfe96 (diff) | |
download | freebsd-ports-gnome-9b3541ffaa5664f09ebb82f210556b03ecc2c70b.tar.gz freebsd-ports-gnome-9b3541ffaa5664f09ebb82f210556b03ecc2c70b.tar.zst freebsd-ports-gnome-9b3541ffaa5664f09ebb82f210556b03ecc2c70b.zip |
Fix build on -current.
Noticed by: kris@
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 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 |