pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xrn: Updated Makefiled.



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <michael.baeuerle%stz-e.de@localhost>
Pushed By:	micha
Date:		Wed Aug 22 15:29:53 2018 +0200
Changeset:	2717a618728f55348e18de4c98e7a492aec9dc52

Modified Files:
	xrn/Makefile

Log Message:
xrn: Updated Makefiled.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2717a618728f55348e18de4c98e7a492aec9dc52

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 xrn/Makefile | 10 ++++++++++
 1 file changed, 10 insertions(+)

diffs:
diff --git a/xrn/Makefile b/xrn/Makefile
index fa8eb8e50e..8d8eb5d154 100644
--- a/xrn/Makefile
+++ b/xrn/Makefile
@@ -20,7 +20,17 @@ DOCDIR=		share/doc/xrn
 INSTALLATION_DIRS+=	${DOCDIR}
 
 .include "../../mk/bsd.prefs.mk"
+# Xaw3d support for NetBSD
+.if ${OPSYS} == "NetBSD" && ${XAW_TYPE} == "3d"
+BUILDLINK_TRANSFORM+=	l:Xaw7:Xaw3d
+.PHONY: buildlink-Xaw3d-inc-hack
+post-wrapper: buildlink-Xaw3d-inc-hack
+
+buildlink-Xaw3d-inc-hack: buildlink-directories
+	cd ${BUILDLINK_DIR}/include/X11 && mv Xaw Xaw.standard && ln -s Xaw3d Xaw
+.else
 XAW_TYPE=	standard
+.endif
 
 pre-install:
 	for f in COMMON-PROBLMS COPYRIGHT CREDITS ChangeLog; do		\


Home | Main Index | Thread Index | Old Index