diff options
author | sf <sf@FreeBSD.org> | 2005-04-16 02:45:42 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2005-04-16 02:45:42 +0800 |
commit | 23a0afca9389435bdb86e0d21756c066798a5007 (patch) | |
tree | f7500eec801b596033a325759684aa5b17991286 | |
parent | f2559726182cd379b7ab157abd23b9401a481cc4 (diff) | |
download | freebsd-ports-gnome-23a0afca9389435bdb86e0d21756c066798a5007.tar.gz freebsd-ports-gnome-23a0afca9389435bdb86e0d21756c066798a5007.tar.zst freebsd-ports-gnome-23a0afca9389435bdb86e0d21756c066798a5007.zip |
unbreak (libxpg4.)
-rw-r--r-- | japanese/tk80/Makefile | 8 | ||||
-rw-r--r-- | japanese/tkstep80/Makefile | 8 | ||||
-rw-r--r-- | japanese/xyagamo/Makefile | 10 |
3 files changed, 11 insertions, 15 deletions
diff --git a/japanese/tk80/Makefile b/japanese/tk80/Makefile index c1503ab42952..14ec51bffe22 100644 --- a/japanese/tk80/Makefile +++ b/japanese/tk80/Makefile @@ -30,6 +30,7 @@ PATCH_DIST_ARGS=-d ${TOPDIR} --forward --quiet -E ${PATCH_DIST_STRIP} .endif USE_AUTOCONF_VER= 213 USE_XLIB= yes +USE_REINPLACE= yes CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl${VERSION}jp \ --enable-xlibHack --enable-onTheSpot RANLIB= ranlib @@ -37,12 +38,9 @@ INSTALLS_SHLIB= yes .include <bsd.port.pre.mk> -.if ${OSVERSION} > 600006 -BROKEN= "Depends on libxpg4 which was removed from FreeBSD 6.0" -.endif - -.if !defined(NOPORTDOCS) post-patch: + @${REINPLACE_CMD} -e '/xpg4/d' ${WRKSRC}/configure.in +.if !defined(NOPORTDOCS) @${CP} ${FILESDIR}/README.FreeBSD.in ${TOPDIR}/README.FreeBSD.JP.in @${SED} -e 's%AC_OUTPUT(Makefile tkConfig.sh)%AC_OUTPUT(Makefile tkConfig.sh ../README.FreeBSD.JP)%' \ < ${WRKSRC}/configure.in \ diff --git a/japanese/tkstep80/Makefile b/japanese/tkstep80/Makefile index 9816931902f7..b0159eb7e43f 100644 --- a/japanese/tkstep80/Makefile +++ b/japanese/tkstep80/Makefile @@ -21,6 +21,7 @@ COMMENT= The Tk toolkit with a NeXTSTEP look and more LIB_DEPENDS= tcl80jp.1:${PORTSDIR}/japanese/tcl80 +USE_REINPLACE= yes USE_XLIB= yes USE_XPM= yes USE_AUTOCONF_VER= 213 @@ -42,11 +43,10 @@ TCLVERSION= 8.0 TOPDIR= ${WRKDIR}/${DISTNAME} PORTDOCDIR= ${PREFIX}/share/doc/tkstep${TCLVERSION}jp -.include <bsd.port.pre.mk> +post-patch: + @${REINPLACE_CMD} -e '/xpg4/d' ${WRKSRC}/configure.in -.if ${OSVERSION} > 600006 -BROKEN= "Depends on libxpg4 which was removed from FreeBSD 6.0" -.endif +.include <bsd.port.pre.mk> pre-install: cd ${TOPDIR}/library/demos.jp && ${RM} -f *.orig diff --git a/japanese/xyagamo/Makefile b/japanese/xyagamo/Makefile index c70baaa2cb68..37eaa5956ac7 100644 --- a/japanese/xyagamo/Makefile +++ b/japanese/xyagamo/Makefile @@ -15,18 +15,16 @@ COMMENT= Japanese version of a four player mahjong game USE_X_PREFIX= YES USE_XPM= yes +USE_REINPLACE= yes MAN6= xyagamo.6 MANLANG= ja MAN6COMPRESSED= no -.include <bsd.port.pre.mk> - -.if ${OSVERSION} > 600006 -BROKEN= "Depends on libxpg4 which was removed from FreeBSD 6.0" -.endif +post-patch: + @${REINPLACE_CMD} -e 's/-lxpg4//' ${WRKSRC}/src/Makefile pre-build: @cd ${BUILD_WRKSRC}/src; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} depend -.include <bsd.port.post.mk> +.include <bsd.port.mk> |