diff options
author | dbn <dbn@FreeBSD.org> | 2013-06-17 21:09:20 +0800 |
---|---|---|
committer | dbn <dbn@FreeBSD.org> | 2013-06-17 21:09:20 +0800 |
commit | adf9476dc929b4c3fd6608ed431171bfe8d0a560 (patch) | |
tree | d687003fbd2094a6acfafe75ddf7831daf5ddc63 /emulators/i386-wine-devel | |
parent | a6f3fd8f664a7d7dec7ce1e563d130173ba2656e (diff) | |
download | freebsd-ports-gnome-adf9476dc929b4c3fd6608ed431171bfe8d0a560.tar.gz freebsd-ports-gnome-adf9476dc929b4c3fd6608ed431171bfe8d0a560.tar.zst freebsd-ports-gnome-adf9476dc929b4c3fd6608ed431171bfe8d0a560.zip |
Really fix dynamic pkg-plist for emulators/i386-wine-devel.
To prevent this problem from happening again the @dirrm section
was consolidated and moved to after the files are added.
Approved by: eadler,bdrewery (mentors, implicit)
Reported by: qat@redports.org, bdrewery
Diffstat (limited to 'emulators/i386-wine-devel')
-rw-r--r-- | emulators/i386-wine-devel/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emulators/i386-wine-devel/Makefile b/emulators/i386-wine-devel/Makefile index 44e343171145..1e39cc1512c5 100644 --- a/emulators/i386-wine-devel/Makefile +++ b/emulators/i386-wine-devel/Makefile @@ -32,15 +32,12 @@ post-install-script: [ "$${i}" = "wine" ] || ${LN} -f ${PREFIX}/bin/wine ${PREFIX}/bin/$${i} ; \ echo bin32/$${i} >> ${TMPPLIST} ; \ done - echo '@dirrm bin32' >> ${TMPPLIST} # Install dri libraries (internal libGL requirements) ${MKDIR} ${PREFIX}/lib32/.libGL/dri for i in ${LOCALBASE}/lib/dri/*.so; do \ ${INSTALL_DATA} $${i} ${PREFIX}/lib32/.libGL/dri/ ; \ echo lib32/.libGL/dri/$${i##*/} >> ${TMPPLIST} ; \ done - echo '@dirrm lib32/.libGL/dri' >> ${TMPPLIST} - echo '@dirrm lib32/.libGL' >> ${TMPPLIST} # Find all libraries that are linked too (via ldd(1)) grep -v '[@%]' ${TMPPLIST} | sed "s!^!${PREFIX}/!g" | \ xargs -n1 file -F' ' | grep ELF | cut -f1 -d' ' | \ @@ -66,11 +63,14 @@ post-install-script: echo lib32/$${i} >> ${TMPPLIST} ; \ fi ; \ done + echo '@dirrm lib32/.libGL/dri' >> ${TMPPLIST} + echo '@dirrm lib32/.libGL' >> ${TMPPLIST} if [ -n "${WITH_PKGNG}" ]; then \ echo '@dirrmtry lib32' >> ${TMPPLIST}; \ else \ echo '@unexec rmdir %D/lib32 2>/dev/null || true' >> ${TMPPLIST}; \ fi + echo '@dirrm bin32' >> ${TMPPLIST} # Install nvidia patching script ${INSTALL_SCRIPT} ${.CURDIR}/files/nvidia.sh ${DATADIR}/patch-nvidia.sh echo ${DATADIR:S|$(PREFIX)/||}/patch-nvidia.sh >> ${TMPPLIST} |