Subject: Setting include path for building pkg
To: None <>
From: Jonathan <>
List: tech-pkg
Date: 04/12/2004 20:05:49
OS: NetBSD-1.6.2
Package: editors/ted (new version - 2.16)

 I am trying to build Ted here on NetBSD but I get this error:

gcc -g -O2       -I/usr/X11R6/include    -I/usr/X11R6/include
-I../appFrame   -I../appUtil    -I../bitmap     -I../ind
-I../include                      -c sioCopyPasteMotif.c
In file included from ../appFrame/sioXprop.h:7,
                 from sioCopyPasteMotif.c:11:
../appFrame/appGuiBase.h:34: Xm/Xm.h: No such file or directory

 The problem is that it is looking for Xm/Xm.h in /usr/X11R6/include but
the location of Xm.Xm.h is really in


Where in the do I append the additional search paths? I
remember Jeremy Reed showed me that the fix for the Xlibs was to add
 -Wl -R/usr/X11R6/lib to the X_LIBS=@X_LIBS@ line like so:

X_LIBS=@X_LIBS@ -Wl -R/usr/X11R6/lib

Where do I add the path /usr/pkg/include/Xm/Xm.h in the ?