summaryrefslogtreecommitdiff
path: root/mk/motif.buildlink.mk
AgeCommit message (Collapse)AuthorFilesLines
2001-11-21Move MOTIF_TYPE_DEFAULT and MOTIF12_TYPE_DEFAULT definitions into theagc1-20/+1
individual defs.${OPSYS}.mk files. No change in functionality.
2001-09-21Do an immediate setting of MOTIF_TYPE and MOTIF12_TYPE so that thejlam1-3/+3
definition isn't recursive if values have already been assigned.
2001-09-14Define USE_X11BASE instead of just USE_X11. This makes motif.buildlink.mkjlam1-2/+2
match the behaviour of USE_MOTIF in setting PREFIX=${X11BASE}.
2001-09-13Set MOTIF12_TYPE and MOTIF_TYPE so that they may be used by other packagejlam1-1/+3
Makefiles.
2001-09-13Unify the special code to detect pre-installed Motif installationsjlam1-29/+103
(whether 2.0 or 1.2-compatible) into one file, motif.buildlink.mk. lesstif12/buildlink.mk now assumes that if you include it, then you actually want lesstif12. To select that you want a Motif-1.2-compatible installation, define USE_MOTIF12 in the package Makefile. If MOTIF12BASE is also defined, then assume it points to a valid Motif-1.2 installation. Otherwise, auto-detect whether /usr/dt is valid, or if we need lesstif12.
2001-09-13To verify a Motif-2.0 installation, test for the presence of <Xm/Xm.h> andjlam1-3/+3
<Xm/Gadget.h> instead of only <Xm/Xm.h>. This differentiates between Motif-2.0 and Motif-1.2 installations.
2001-09-13Clarify in the comments that this buildlink.mk file handlesjlam1-10/+10
Motif-*2.0*-compatible installations.
2001-09-13Switch default Motif type to OpenMotif, as it's a "real" Motif with fulljlam1-6/+5
functionality. Default remains DT-Motif on Solaris. This doesn't affect users who already have LessTif installed, as motif.buildlink.mk will use an installed Motif package in preference to the default. I have compiled and run every package in pkgsrc (as of today) that uses either USE_MOTIF or motif.buildlink.mk. They all function as well or better with OpenMotif as the installed Motif package as compared with LessTif. There was only one small API difference I detected between LessTif and OpenMotif in <Xm/Text.h>, where OpenMotif's Text.h includes <stdio.h> while LessTif's does not, but the only package that this affected (graphics/tcm) was fixed.
2001-09-13Set MOTIFBASE within the scope of the Motif-compatible package'sjlam1-6/+3
buildlink.mk as it uses values from the buildlink.mk for it's own value. Also don't pass MOTIFBASE to the MAKE_ENV as it causes the correct package buildlink.mk file to not be included.
2001-09-13Alter logic for choosing which Motif installation to use. It's now asjlam1-44/+47
follows: If MOTIFBASE is set, then assume it points to a valid Motif installation. If MOTIF_TYPE is set, then use the named Motif installation. If neither MOTIFBASE nor MOTIF_TYPE is set, then any pre-existing Motif installation is used, whether it is in /usr/dt or ${X11BASE} or a pkgsrc- installed Motif. Lastly, default to ${MOTIF_TYPE_DEFAULT}. This makes MOTIF_TYPE behave more like XAW_TYPE in that it explicitly chooses the Motif installation to use.
2001-09-08Separate out the Motif-checking logic from lesstif/buildlink.mk into ajlam1-0/+103
separate file mk/motif.buildlink.mk.