summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-12-11 02:59:34 +0000
committerdholland <dholland@pkgsrc.org>2011-12-11 02:59:34 +0000
commit91963fe983070da0ca8ccfe37c27dbc0d935db75 (patch)
tree15d8db8821c82e498e3d078bb8d9252440478da1 /x11
parent1f3dfd85f501a57130d986b1d93fa003204bf271 (diff)
downloadpkgsrc-91963fe983070da0ca8ccfe37c27dbc0d935db75.tar.gz
BUILDLINK_TRANSFORM+= rm:-lXp
This works around the Motif imake templates, which unconditionally provide -lXp for Motif clients. It is not clear to me why imake material for Motif is shipped as part of the default X imake templates rather than with Motif; but imake has always had a special (il)logic of its own. Dealing with this problem by setting IMAKEOPTS here instead causes "can't buildlink files" and I don't understand why; but this approach is maybe better anyway. Fixes build of audio/xmradio and perhaps other Motif-using packages.
Diffstat (limited to 'x11')
-rw-r--r--x11/openmotif/buildlink3.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/openmotif/buildlink3.mk b/x11/openmotif/buildlink3.mk
index 02213175e6e..2cfebd36c2b 100644
--- a/x11/openmotif/buildlink3.mk
+++ b/x11/openmotif/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.20 2011/12/07 17:01:58 drochner Exp $
+# $NetBSD: buildlink3.mk,v 1.21 2011/12/11 02:59:34 dholland Exp $
BUILDLINK_TREE+= openmotif
@@ -13,6 +13,8 @@ _MOTIFBASE= ${BUILDLINK_PREFIX.openmotif}
MOTIFLIB= ${COMPILER_RPATH_FLAG}${_MOTIFBASE}/lib \
-L${_MOTIFBASE}/lib -lXm
+BUILDLINK_TRANSFORM+= rm:-lXp
+
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"