From f8ccf6ad680418df0340fbe5ffa18c02751eb911 Mon Sep 17 00:00:00 2001 From: lioux Date: Sun, 14 Mar 2004 04:51:05 +0000 Subject: o Fix "make deinstall reinstall": "unfix" some header files inside WRKSRC after installation. PR: 47713 Submitted by: parv (report), Anish Mistry (fix) --- multimedia/ffmpeg-devel/Makefile | 4 ++++ multimedia/ffmpeg/Makefile | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'multimedia') diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile index 390da734ce52..a07fd762baac 100644 --- a/multimedia/ffmpeg-devel/Makefile +++ b/multimedia/ffmpeg-devel/Makefile @@ -277,6 +277,10 @@ post-install: ${WRKSRC}/${file} @${INSTALL_DATA} ${WRKSRC}/${file} \ ${PREFIX}/include/ffmpeg/${file:T} +# change headers back so reinstall target works + @${REINPLACE_CMD} -e 's||"common.h"|; \ + s||"avcodec.h"|' \ + ${WRKSRC}/${file} .endfor .for file in ${LIB_FILES} @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/lib/${file:T} diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index 390da734ce52..a07fd762baac 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -277,6 +277,10 @@ post-install: ${WRKSRC}/${file} @${INSTALL_DATA} ${WRKSRC}/${file} \ ${PREFIX}/include/ffmpeg/${file:T} +# change headers back so reinstall target works + @${REINPLACE_CMD} -e 's||"common.h"|; \ + s||"avcodec.h"|' \ + ${WRKSRC}/${file} .endfor .for file in ${LIB_FILES} @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/lib/${file:T} -- cgit