s/perl/sed/
This commit is contained in:
parent
b114413f86
commit
07cca506c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67134
1 changed files with 6 additions and 4 deletions
|
@ -17,9 +17,11 @@ WRKSRC= ${WRKDIR}/AutoZen-${PORTVERSION}
|
||||||
|
|
||||||
MAKE_ENV+= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS}
|
MAKE_ENV+= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS}
|
||||||
|
|
||||||
USE_X_PREFIX= yes
|
|
||||||
USE_GNOMENG= yes
|
|
||||||
USE_GNOME= gtk12
|
USE_GNOME= gtk12
|
||||||
|
USE_GNOMENG= yes
|
||||||
|
USE_X_PREFIX= yes
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
REINPLACE_ARGS= -i'' -E
|
||||||
|
|
||||||
DOC_FILES= CHANGES COPYING
|
DOC_FILES= CHANGES COPYING
|
||||||
DATA_FILES= deep-relax.seq deep_delta_slide.seq delta_slide.seq \
|
DATA_FILES= deep-relax.seq deep_delta_slide.seq delta_slide.seq \
|
||||||
|
@ -28,10 +30,10 @@ PLIST= ${WRKDIR}/pkg-plist
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@if [ -f /usr/include/sys/soundcard.h ]; then \
|
@if [ -f /usr/include/sys/soundcard.h ]; then \
|
||||||
${PERL} -pi -e "s=machine/soundcard.h=sys/soundcard.h=g" \
|
${REINPLACE_CMD} "s=machine/soundcard.h=sys/soundcard.h=g" \
|
||||||
${WRKSRC}/autozen.c; \
|
${WRKSRC}/autozen.c; \
|
||||||
fi
|
fi
|
||||||
@${PERL} -pi -e "s=X11BASE=${X11BASE}=g" ${WRKSRC}/autozen.c
|
${REINPLACE_CMD} "s=X11BASE=${X11BASE}=g" ${WRKSRC}/autozen.c
|
||||||
cd ${WRKSRC} && ${RM} autozen seq2wav
|
cd ${WRKSRC} && ${RM} autozen seq2wav
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
|
|
Loading…
Reference in a new issue