summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-29 09:38:20 +0000
committerjlam <jlam>2002-09-29 09:38:20 +0000
commitdecf4a063884564ff225988a141ec585d64a8410 (patch)
treebd9f27ec74d5bd34dc3c739b41212eb23e87e0f5 /print
parent65e8370f9be2098afc46068ca62226ab758b90cf (diff)
downloadpkgsrc-decf4a063884564ff225988a141ec585d64a8410.tar.gz
Use gcc/buildlink2.mk instead of Makefile.gcc
Diffstat (limited to 'print')
-rw-r--r--print/lyx/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/print/lyx/Makefile b/print/lyx/Makefile
index 8698c5211cd..a3b46b52231 100644
--- a/print/lyx/Makefile
+++ b/print/lyx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2002/09/21 04:52:38 jlam Exp $
+# $NetBSD: Makefile,v 1.48 2002/09/29 09:42:38 jlam Exp $
# FreeBSD Id: Makefile,v 1.14 1998/02/14 16:46:50 andreas Exp
#
@@ -16,14 +16,9 @@ COMMENT= Graphical frontend for LaTeX (nearly WYSIWYG)
DEPENDS= ispell-base-[0-9]*:../../textproc/ispell-base
DEPENDS+= teTeX>=1.0.6:../../print/teTeX
-GCC_VERSION!= gcc --version
-.if (${GCC_VERSION:C/-.*$$//} == egcs)
-# "egcs" cannot be used, as this package tickles c++ compiler bugs
-.include "../../lang/gcc/Makefile.gcc"
-.endif
-
USE_BUILDLINK2= YES
USE_PERL5= YES
+USE_CXX= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-extra-lib=${BUILDLINK_PREFIX.xforms}/lib \
--with-extra-inc=${BUILDLINK_PREFIX.xforms}/include/X11
@@ -39,6 +34,7 @@ post-install:
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/xpm/buildlink2.mk"
+.include "../../lang/gcc/buildlink2.mk"
.include "../../x11/xforms/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"