summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-10-14 20:17:24 +0000
committerwiz <wiz@pkgsrc.org>2015-10-14 20:17:24 +0000
commit290b47c25a999a52f9ed37d876514732ed4b57d7 (patch)
treeb62ce193139a28ca45bd0bf8ee8790b2683f16db /cad
parent118e6b2bd6bde9db2382b4d4ef63bb866b781b22 (diff)
downloadpkgsrc-290b47c25a999a52f9ed37d876514732ed4b57d7.tar.gz
Switch from x11/Xaw3d to newer x11/libXaw3d.
Adapt some packages so they build with that. Bump their PKGREVISIONs.
Diffstat (limited to 'cad')
-rw-r--r--cad/felt/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/cad/felt/Makefile b/cad/felt/Makefile
index 55511e0adb5..2a2f0b5f0db 100644
--- a/cad/felt/Makefile
+++ b/cad/felt/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.38 2015/07/04 16:18:28 joerg Exp $
+# $NetBSD: Makefile,v 1.39 2015/10/14 20:17:24 wiz Exp $
DISTNAME= felt-3.05.src
PKGNAME= felt-3.05
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=felt/}
DISTFILES= felt-3.05.src.tar.gz felt-3.05.ps.gz
@@ -16,6 +16,13 @@ EXTRACT_ONLY= felt-3.05.src.tar.gz
WRKSRC= ${WRKDIR}/FElt-3.05
USE_TOOLS+= gzcat
XAW_TYPE?= 3d
+# does not directly support Xaw3d
+BUILDLINK_TRANSFORM+= l:Xaw:Xaw3d
+.PHONY: buildlink-Xaw3d-inc-hack
+pre-configure: buildlink-Xaw3d-inc-hack
+
+buildlink-Xaw3d-inc-hack: buildlink-directories
+ cd ${BUILDLINK_DIR}/include/X11 && ln -s Xaw3d Xaw
MAKE_ENV+= CCOPTS=${CFLAGS:M*:Q}
MAKE_ENV+= LDOPTS=${LDFLAGS:M*:Q}