Index: x11-toolkits/vte3/Makefile =================================================================== --- x11-toolkits/vte3/Makefile (revision 393699) +++ x11-toolkits/vte3/Makefile (working copy) @@ -48,14 +48,10 @@ .include -.if ${OSVERSION} < 900007 -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-gnome-pty-helper_gnome-utmp.c +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 || ${OPSYS} == DragonFly +LIBS+= -lz .endif -.if ${OSVERSION} < 1000000 -CFLAGS+= -lz -.endif - post-patch: .if ${VTE3_SLAVE} != yes @${REINPLACE_CMD} -e 's|-Wno-unused-but-set-variable||g' \ @@ -62,7 +58,7 @@ ${WRKSRC}/src/Makefile.in .endif # zlib.pc only is available on 10.1-R and newer. -.if ${OSVERSION} < 1000000 +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 || ${OPSYS} == DragonFly @${REINPLACE_CMD} -e 's|gio-unix-2.0 zlib|gio-unix-2.0|g' \ ${WRKSRC}/configure .endif @@ -74,8 +70,6 @@ .endif @${REINPLACE_CMD} -e 's|(AM_MAKEFLAGS) install-exec-hook|(AM_MAKEFLAGS)|g' \ ${WRKSRC}/gnome-pty-helper/Makefile.in - @${REINPLACE_CMD} -e 's|zlib"|"|g' \ - ${WRKSRC}/configure .include