diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-07-09 13:37:26 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-07-09 13:37:26 +0000 |
commit | d722fa71e4463f5f7c4ea1ac8c36d1332d6f81a0 (patch) | |
tree | 50535601ad16a33b6f0d90cc399e1e16bf80f2a1 | |
parent | 7487f2d1da9010b4f4ebca9e91dbf6a18c34f2f4 (diff) | |
download | ports-d722fa71e4463f5f7c4ea1ac8c36d1332d6f81a0.tar.gz ports-d722fa71e4463f5f7c4ea1ac8c36d1332d6f81a0.zip |
Notes
-rw-r--r-- | Mk/bsd.port.mk | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 2ba61643b274..50f8c60703e3 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -709,17 +709,6 @@ FILESDIR?= ${MASTERDIR}/files SCRIPTDIR?= ${MASTERDIR}/scripts PKGDIR?= ${MASTERDIR} -# Special macro for doing in-place file editing using regexps -.if defined(USE_REINPLACE) -REINPLACE_ARGS?= -i.bak -.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500034 ) -BUILD_DEPENDS+= ${LOCALBASE}/bin/sed_inplace:${PORTSDIR}/textproc/sed_inplace -REINPLACE_CMD?= ${LOCALBASE}/bin/sed_inplace ${REINPLACE_ARGS} -.else -REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS} -.endif -.endif - .if defined(USE_IMAKE) && !defined(USE_X_PREFIX) USE_X_PREFIX= yes .endif @@ -1057,6 +1046,17 @@ CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include .include "${PORTSDIR}/../Makefile.inc" .endif +# Special macro for doing in-place file editing using regexps +.if defined(USE_REINPLACE) +REINPLACE_ARGS?= -i.bak +.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500036 ) +BUILD_DEPENDS+= ${LOCALBASE}/bin/sed_inplace:${PORTSDIR}/textproc/sed_inplace +REINPLACE_CMD?= ${LOCALBASE}/bin/sed_inplace ${REINPLACE_ARGS} +.else +REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS} +.endif +.endif + # Names of cookies used to skip already completed stages EXTRACT_COOKIE?= ${WRKDIR}/.extract_done.${PKGNAME} CONFIGURE_COOKIE?= ${WRKDIR}/.configure_done.${PKGNAME} |