$NetBSD: patch-af,v 1.6 2006/04/18 23:21:18 reed Exp $

--- lib/Makefile.in.orig	2006-04-11 17:45:48.000000000 -0700
+++ lib/Makefile.in	2006-04-11 17:49:01.000000000 -0700
@@ -1185,7 +1185,7 @@
 	templates/ijmpd.lyx \
 	templates/agu_article.lyx
 
-texdir = $(pkgdatadir)/tex
+texdir = ${PKG_LOCALTEXMFPREFIX}/tex/latex/lyx
 dist_tex_DATA = \
 	tex/broadway.cls \
 	tex/cv.cls \
