pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk ensure that motif header files and libraries can be...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b6e767faf69b
branches: trunk
changeset: 476556:b6e767faf69b
user: grant <grant%pkgsrc.org@localhost>
date: Mon Jun 14 01:18:16 2004 +0000
description:
ensure that motif header files and libraries can be found at
compile/link time by adding the appropriate flags to CPPFLAGS and
LDFLAGS (patch posted to tech-pkg@).
fixes build of a number of motif-needy packages on Solaris using
native motif from /usr/dt.
XXX this needs to better adhere to the buildlink3 way, but not during
the freeze.
diffstat:
mk/motif.buildlink3.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 857e22495789 -r b6e767faf69b mk/motif.buildlink3.mk
--- a/mk/motif.buildlink3.mk Mon Jun 14 01:09:05 2004 +0000
+++ b/mk/motif.buildlink3.mk Mon Jun 14 01:18:16 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: motif.buildlink3.mk,v 1.2 2004/05/10 00:11:14 xtraeme Exp $
+# $NetBSD: motif.buildlink3.mk,v 1.3 2004/06/14 01:18:16 grant Exp $
#
# USE_MOTIF12
# use a Motif-1.2-compatible installation, otherwise, assume
@@ -140,6 +140,8 @@
USE_X11?= # defined
MAKE_ENV+= MOTIFLIB="${MOTIFLIB}"
MAKE_ENV+= MOTIFBASE="${_MOTIFBASE}"
+CPPFLAGS+= -I${_MOTIFBASE}/include
+LDFLAGS+= -L${_MOTIFBASE}/lib
LDFLAGS+= ${_COMPILER_LD_FLAG}${_OPSYS_RPATH_NAME}${_MOTIFBASE}/lib
MOTIFLIB?= ${_COMPILER_LD_FLAG}${_OPSYS_RPATH_NAME}${_MOTIFBASE}/lib \
-L${_MOTIFBASE}/lib -lXm -lXp
Home |
Main Index |
Thread Index |
Old Index