head 1.9; access; symbols pkgsrc-2013Q2:1.9.0.54 pkgsrc-2013Q2-base:1.9 pkgsrc-2012Q4:1.9.0.52 pkgsrc-2012Q4-base:1.9 pkgsrc-2011Q4:1.9.0.50 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q2:1.9.0.48 pkgsrc-2011Q2-base:1.9 pkgsrc-2009Q4:1.9.0.46 pkgsrc-2009Q4-base:1.9 pkgsrc-2008Q4:1.9.0.44 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.42 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.40 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.38 pkgsrc-2008Q2-base:1.9 pkgsrc-2008Q1:1.9.0.36 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.34 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.32 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.30 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.28 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.26 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.9.0.24 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.9.0.22 pkgsrc-2006Q2-base:1.9 pkgsrc-2006Q1:1.9.0.20 pkgsrc-2006Q1-base:1.9 pkgsrc-2005Q4:1.9.0.18 pkgsrc-2005Q4-base:1.9 pkgsrc-2005Q3:1.9.0.16 pkgsrc-2005Q3-base:1.9 pkgsrc-2005Q2:1.9.0.14 pkgsrc-2005Q2-base:1.9 pkgsrc-2005Q1:1.9.0.12 pkgsrc-2005Q1-base:1.9 pkgsrc-2004Q4:1.9.0.10 pkgsrc-2004Q4-base:1.9 pkgsrc-2004Q3:1.9.0.8 pkgsrc-2004Q3-base:1.9 pkgsrc-2004Q2:1.9.0.6 pkgsrc-2004Q2-base:1.9 pkgsrc-2004Q1:1.9.0.4 pkgsrc-2004Q1-base:1.9 pkgsrc-2003Q4:1.9.0.2 pkgsrc-2003Q4-base:1.9 netbsd-1-6:1.8.0.8 netbsd-1-6-RELEASE-base:1.8 pkgviews:1.8.0.4 pkgviews-base:1.8 buildlink2:1.8.0.2 buildlink2-base:1.8 netbsd-1-5-PATCH003:1.8; locks; strict; comment @# @; 1.9 date 2002.10.08.19.44.10; author wiz; state dead; branches; next 1.8; 1.8 date 2001.09.13.22.06.34; author jlam; state Exp; branches; next 1.7; 1.7 date 2001.08.06.10.53.48; author tron; state Exp; branches; next 1.6; 1.6 date 2001.08.05.14.52.00; author wiz; state Exp; branches; next 1.5; 1.5 date 2001.07.27.13.33.38; author jlam; state Exp; branches; next 1.4; 1.4 date 2001.07.20.01.54.55; author jlam; state Exp; branches; next 1.3; 1.3 date 2001.07.01.22.59.33; author jlam; state Exp; branches; next 1.2; 1.2 date 2001.07.01.20.42.27; author jlam; state Exp; branches; next 1.1; 1.1 date 2001.06.30.21.09.29; author jlam; state Exp; branches; next ; desc @@ 1.9 log @Unused. @ text @# $NetBSD: buildlink.mk,v 1.8 2001/09/13 22:06:34 jlam Exp $ # # This Makefile fragment is included by packages that use lesstif12. # # To use this Makefile fragment, simply: # # (1) Optionally define BUILDLINK_DEPENDS.lesstif12 to the dependency pattern # for the version of lesstif12 desired. # (2) Include this Makefile fragment in the package Makefile, # (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header # search path, and # (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search # path. .if !defined(LESSTIF12_BUILDLINK_MK) LESSTIF12_BUILDLINK_MK= # defined .include "../../mk/bsd.buildlink.mk" BUILDLINK_DEPENDS.lesstif12?= lesstif12>=0.91.4 DEPENDS+= ${BUILDLINK_DEPENDS.lesstif12}:../../x11/lesstif12 EVAL_PREFIX+= LESSTIF12_PREFIX=lesstif12 LESSTIF12_PREFIX_DEFAULT= ${X11PREFIX} BUILDLINK_PREFIX.lesstif12= ${LESSTIF12_PREFIX}/LessTif/Motif1.2 BUILDLINK_FILES.lesstif12= include/Mrm/* BUILDLINK_FILES.lesstif12+= include/Xm/* BUILDLINK_FILES.lesstif12+= include/uil/* BUILDLINK_FILES.lesstif12+= lib/libMrm.* BUILDLINK_FILES.lesstif12+= lib/libUil.* BUILDLINK_FILES.lesstif12+= lib/libXm.* BUILDLINK_TARGETS.lesstif12= lesstif12-buildlink BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.lesstif12} pre-configure: ${BUILDLINK_TARGETS.lesstif12} lesstif12-buildlink: _BUILDLINK_USE .endif # LESSTIF12_BUILDLINK_MK @ 1.8 log @Unify the special code to detect pre-installed Motif installations (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. @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.7 2001/08/06 10:53:48 tron Exp $ @ 1.7 log @Fix buildlink glue so that it links the LessTif 1.2 and not the 2.0 includes and libraries. @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.6 2001/08/05 14:52:00 wiz Exp $ a20 29 .include "../../mk/bsd.prefs.mk" # On Solaris, assume that /usr/dt contains a valid Motif 1.2-compatible # installation. Otherwise, check to see if is installed. # If it is, then this is a Motif 2.0-compatible installation, so we need # lesstif12. # .if ${OPSYS} == "SunOS" _NEED_LESSTIF12= NO .else .if exists(${X11BASE}/include/Xm/Xm.h) .if exists(${X11BASE}/include/Xm/Gadget.h) _NEED_LESSTIF12= YES .else _IS_LESSTIF!= ${EGREP} -c LESSTIF ${X11BASE}/include/Xm/Xm.h || ${TRUE} .if ${_IS_LESSTIF} == "0" _NEED_LESSTIF12= NO .else _NEED_LESSTIF12= YES .endif .endif .else _NEED_LESSTIF12= YES .endif .endif .if ${_NEED_LESSTIF12} == "YES" MOTIFBASE?= ${X11PREFIX}/LessTif/Motif1.2 a21 7 .else .if ${OPSYS} == "SunOS" MOTIFBASE?= /usr/dt .else MOTIFBASE?= ${X11BASE} .endif .endif d24 1 a34 5 USE_X11= # defined MAKE_ENV+= MOTIFLIB="${MOTIFLIB}" LDFLAGS+= -Wl,-R${MOTIFBASE}/lib MOTIFLIB?= -Wl,-R${MOTIFBASE}/lib -Wl,-R${X11BASE}/lib -L${BUILDLINK_DIR}/lib -L${X11BASE}/lib -lXm -lXp @ 1.6 log @Delete duplicate line. @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.5 2001/07/27 13:33:38 jlam Exp $ d59 2 a60 2 EVAL_PREFIX+= BUILDLINK_PREFIX.lesstif12=lesstif12 BUILDLINK_PREFIX.lesstif12_DEFAULT= ${X11PREFIX} @ 1.5 log @Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default installation directory in case the package isn't installed. @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.4 2001/07/20 01:54:55 jlam Exp $ a61 1 BUILDLINK_FILES.lesstif12+= include/Xm/* @ 1.4 log @Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set BUILDLINK_PREFIX.. This allows buildlink to find X11BASE packages regardless of whether they were installed before or after xpkgwedge was installed. Idea by Alistair Crooks . @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.3 2001/07/01 22:59:33 jlam Exp $ d60 1 @ 1.3 log @Move inclusion of bsd.buildlink.mk to start of file. @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.2 2001/07/01 20:42:27 jlam Exp $ d59 1 a59 1 BUILDLINK_PREFIX.lesstif12= ${MOTIFBASE} @ 1.2 log @Correct spelling of MOTIFLIB. @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.1 2001/06/30 21:09:29 jlam Exp $ d18 2 a77 2 .include "../../mk/bsd.buildlink.mk" @ 1.1 log @Add buildlink.mk files for use by other package Makefiles. @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.5 2001/06/23 19:26:51 jlam Exp $ d70 1 a70 1 MAKE_ENV+= MOTIFLIB="${MOTIFILIB}" @