aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-02-22 06:08:47 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-02-22 06:08:47 +0000
commit0ca80d429dddb9b419ea390789eb1947926f5bb8 (patch)
tree10206519dfa6ca82d8a83be9160c12cbbda08a48 /x11-toolkits
parentc9f50430c264524cf9acf955468e0b93d76987e3 (diff)
downloadports-0ca80d429dddb9b419ea390789eb1947926f5bb8.tar.gz
ports-0ca80d429dddb9b419ea390789eb1947926f5bb8.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/lesstif/Makefile6
-rw-r--r--x11-toolkits/lesstif/pkg-plist2
2 files changed, 8 insertions, 0 deletions
diff --git a/x11-toolkits/lesstif/Makefile b/x11-toolkits/lesstif/Makefile
index f349f62d787c..b8708129c4a5 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 74bad48f9b45..c78eafd05d5a 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