mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
o Fix on 4.x.
o Use $REINPLACE_CMD. Submitted by: lofi@
This commit is contained in:
parent
b14d0e9d85
commit
0740674ec2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103656
@ -59,10 +59,6 @@ CONFIGURE_ARGS+=--with-dummy-values
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= plist is incorrect for 4.x. Please wait to be fixed.
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_PERL)
|
||||
PLIST_SUB+= WITH_PERL="@comment "
|
||||
.else
|
||||
@ -234,8 +230,8 @@ post-configure:
|
||||
.if !defined(WITHOUT_PERL)
|
||||
post-build:
|
||||
${FIND} ${WRKSRC}/perl -name Makefile | \
|
||||
${XARGS} ${PERL} -pi -e '\
|
||||
s!^(PREFIX) = /usr/local!$$1 = ${PREFIX}!; \
|
||||
${XARGS} ${REINPLACE_CMD} -e '\
|
||||
s!^(PREFIX) = .*!$$1 = ${PREFIX}!; \
|
||||
s!^(INSTALLMAN3DIR) = /usr/local!$$1 = \$$\(PREFIX\)!; \
|
||||
s! doc_(perl|site|\$$\(INSTALLDIRS\))_install$$!!; \
|
||||
'
|
||||
|
@ -59,10 +59,6 @@ CONFIGURE_ARGS+=--with-dummy-values
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= plist is incorrect for 4.x. Please wait to be fixed.
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_PERL)
|
||||
PLIST_SUB+= WITH_PERL="@comment "
|
||||
.else
|
||||
@ -234,8 +230,8 @@ post-configure:
|
||||
.if !defined(WITHOUT_PERL)
|
||||
post-build:
|
||||
${FIND} ${WRKSRC}/perl -name Makefile | \
|
||||
${XARGS} ${PERL} -pi -e '\
|
||||
s!^(PREFIX) = /usr/local!$$1 = ${PREFIX}!; \
|
||||
${XARGS} ${REINPLACE_CMD} -e '\
|
||||
s!^(PREFIX) = .*!$$1 = ${PREFIX}!; \
|
||||
s!^(INSTALLMAN3DIR) = /usr/local!$$1 = \$$\(PREFIX\)!; \
|
||||
s! doc_(perl|site|\$$\(INSTALLDIRS\))_install$$!!; \
|
||||
'
|
||||
|
@ -59,10 +59,6 @@ CONFIGURE_ARGS+=--with-dummy-values
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= plist is incorrect for 4.x. Please wait to be fixed.
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_PERL)
|
||||
PLIST_SUB+= WITH_PERL="@comment "
|
||||
.else
|
||||
@ -234,8 +230,8 @@ post-configure:
|
||||
.if !defined(WITHOUT_PERL)
|
||||
post-build:
|
||||
${FIND} ${WRKSRC}/perl -name Makefile | \
|
||||
${XARGS} ${PERL} -pi -e '\
|
||||
s!^(PREFIX) = /usr/local!$$1 = ${PREFIX}!; \
|
||||
${XARGS} ${REINPLACE_CMD} -e '\
|
||||
s!^(PREFIX) = .*!$$1 = ${PREFIX}!; \
|
||||
s!^(INSTALLMAN3DIR) = /usr/local!$$1 = \$$\(PREFIX\)!; \
|
||||
s! doc_(perl|site|\$$\(INSTALLDIRS\))_install$$!!; \
|
||||
'
|
||||
|
Loading…
Reference in New Issue
Block a user