diff options
author | lioux <lioux@FreeBSD.org> | 2004-03-14 12:51:05 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2004-03-14 12:51:05 +0800 |
commit | f8ccf6ad680418df0340fbe5ffa18c02751eb911 (patch) | |
tree | 0662adf29c66dafe3c18e7bd6261d625d5d59be0 /multimedia | |
parent | d18b7d996811f157567d41574f0b7b2810df2026 (diff) | |
download | freebsd-ports-gnome-f8ccf6ad680418df0340fbe5ffa18c02751eb911.tar.gz freebsd-ports-gnome-f8ccf6ad680418df0340fbe5ffa18c02751eb911.tar.zst freebsd-ports-gnome-f8ccf6ad680418df0340fbe5ffa18c02751eb911.zip |
o Fix "make deinstall reinstall": "unfix" some header files inside
WRKSRC after installation.
PR: 47713
Submitted by: parv <parv_fm@emailgroups.net> (report),
Anish Mistry <mistry.7@osu.edu> (fix)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/ffmpeg-devel/Makefile | 4 | ||||
-rw-r--r-- | multimedia/ffmpeg/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
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|<ffmpeg/common.h>|"common.h"|; \ + s|<ffmpeg/avcodec.h>|"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|<ffmpeg/common.h>|"common.h"|; \ + s|<ffmpeg/avcodec.h>|"avcodec.h"|' \ + ${WRKSRC}/${file} .endfor .for file in ${LIB_FILES} @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/lib/${file:T} |