$NetBSD: patch-af,v 1.1.1.1 2008/02/21 10:07:43 xtraeme Exp $

--- lib/Makefile.in.orig	2008-02-21 09:33:30.000000000 +0100
+++ lib/Makefile.in	2008-02-21 09:33:49.000000000 +0100
@@ -1438,7 +1438,7 @@
 	templates/revtex4.lyx \
 	templates/slides.lyx
 
-texdir = $(pkgdatadir)/tex
+texdir = ${PKG_LOCALTEXMFPREFIX}/tex/latex/lyx
 dist_tex_DATA = \
 	tex/broadway.cls \
 	tex/hollywood.cls \
