summaryrefslogtreecommitdiff
path: root/devel/imake
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2010-01-10 21:22:18 +0000
committertron <tron@pkgsrc.org>2010-01-10 21:22:18 +0000
commit695c4ee0ff0391f70d751b1d9383b31d21972d8d (patch)
treec9c13d566944209628a982bad0f416bdad691fd5 /devel/imake
parentb854543d57e347c71409c500e179f6d2f80feeb6 (diff)
downloadpkgsrc-695c4ee0ff0391f70d751b1d9383b31d21972d8d.tar.gz
Fix bad variable assignment in "xmkmf" if it is generated by Sun Studio C
under Solaris. Bump package revision because of this fix.
Diffstat (limited to 'devel/imake')
-rw-r--r--devel/imake/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/devel/imake/Makefile b/devel/imake/Makefile
index 8c6661ab93e..280b28297bf 100644
--- a/devel/imake/Makefile
+++ b/devel/imake/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2009/10/25 12:15:54 tnn Exp $
-#
+# $NetBSD: Makefile,v 1.8 2010/01/10 21:22:18 tron Exp $
DISTNAME= imake-1.0.2
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= x11 devel
MASTER_SITES= ${MASTER_SITE_XORG:=util/}
EXTRACT_SUFX= .tar.bz2
@@ -25,6 +24,14 @@ REPLACE_PERL+= mkhtmlindex.pl
.include "../../mk/compiler.mk"
.if empty(PKGSRC_COMPILER:Mgcc)
CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
+
+. if ${OPSYS} == "SunOS"
+SUBST_CLASSES+= xmkmf
+SUBST_MESSAGE.xmkmf= Fixing "xmkmf" script.
+SUBST_STAGE.xmkmf= post-build
+SUBST_FILES.xmkmf= xmkmf
+SUBST_SED.xmkmf= -e "s/^configdirspec= */configdirspec=/"
+. endif
.endif
.include "../../x11/xproto/buildlink3.mk"