fix the removing of the "Samples" SUBDIR from the ports Makefile by using

a propper regexp.

PR:		ports/116499
Submitted by:	amdmi3@amdmi3.ru
This commit is contained in:
Oliver Lehmann 2007-09-23 17:10:17 +00:00
parent 29a89c312c
commit ecd6b30dd3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200000

View file

@ -36,7 +36,7 @@ post-patch:
s|-lpthread|${PTHREAD_LIBS}|g; \
s|DevIL_CFLAGS=.*|DevIL_CFLAGS="-DUSE_DEVIL_LIBRARY -I${LOCALBASE}/include"|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's| Samples$$||g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/SUBDIRS/ s| Samples||g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|__linux__)|& \|\| defined(__FreeBSD__)|g' \
${WRKSRC}/include/CEGUIDynamicModule.h \
${WRKSRC}/src/CEGUIDynamicModule.cpp