diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-02-22 14:08:47 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-02-22 14:08:47 +0800 |
commit | 0c463cf11b78c1966aaf2b275085a8ae5fd52a9f (patch) | |
tree | 7dfbbb539286ebc84798c4432645f58591ba4929 /x11-toolkits/lesstif | |
parent | 04118526aa7e3d4d733e208bb900705a388466d0 (diff) | |
download | freebsd-ports-graphics-0c463cf11b78c1966aaf2b275085a8ae5fd52a9f.tar.gz freebsd-ports-graphics-0c463cf11b78c1966aaf2b275085a8ae5fd52a9f.tar.zst freebsd-ports-graphics-0c463cf11b78c1966aaf2b275085a8ae5fd52a9f.zip |
- save lib/X11/config/host.def (which is created empty by imake)
Thanks to kris for notice.
Diffstat (limited to 'x11-toolkits/lesstif')
-rw-r--r-- | x11-toolkits/lesstif/Makefile | 6 | ||||
-rw-r--r-- | x11-toolkits/lesstif/pkg-plist | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/x11-toolkits/lesstif/Makefile b/x11-toolkits/lesstif/Makefile index f349f62d787..b8708129c4a 100644 --- a/x11-toolkits/lesstif/Makefile +++ b/x11-toolkits/lesstif/Makefile @@ -75,6 +75,12 @@ pre-extract: esac) .endif +pre-install: + if [ -f ${X11BASE}/lib/X11/config/host.def ]; then \ + mv -f ${X11BASE}/lib/X11/config/host.def \ + ${X11BASE}/lib/X11/config/host.def.pre-lesstif; \ + fi + post-install: ${RM} -f ${PREFIX}/lib/libXm.la ${RM} -f ${PREFIX}/lib/libMrm.la diff --git a/x11-toolkits/lesstif/pkg-plist b/x11-toolkits/lesstif/pkg-plist index 74bad48f9b4..c78eafd05d5 100644 --- a/x11-toolkits/lesstif/pkg-plist +++ b/x11-toolkits/lesstif/pkg-plist @@ -322,10 +322,12 @@ include/uil/UilDef.h include/uil/UilSymDef.h include/uil/UilSymGl.h include/uil/XmAppl.uil +@exec [ -f %D/lib/X11/config/host.def ] && mv -f %D/lib/X11/config/host.def %D/lib/X11/config/host.def.pre-lesstif lib/X11/app-defaults/Mwm lib/X11/config/LessTif.rules lib/X11/config/LessTif.tmpl lib/X11/config/host.def +@unexec [ -f %D/lib/X11/config/host.def.pre-lesstif ] && mv -f %D/lib/X11/config/host.def.pre-lesstif %D/lib/X11/config/host.def lib/X11/mwm/README lib/X11/mwm/alt.map lib/X11/mwm/system.mwmrc |