8b927d68e0
Some patches from FreeBSD.
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
$OpenBSD: patch-Imakefile,v 1.1 2005/05/24 19:49:28 naddy Exp $
|
|
--- Imakefile.orig Wed Apr 27 14:59:37 2005
|
|
+++ Imakefile Tue May 24 11:39:09 2005
|
|
@@ -102,7 +102,7 @@ SGI_LIB = -limage
|
|
#endif
|
|
|
|
DEPLIBS = always xpaint.man XPaint.ad
|
|
-LOCAL_LIBRARIES = -Lrw -lrw $(XPM_LIB) $(TIFF_LIB) $(SGI_LIB) $(JPEG_LIB) $(PNG_LIB) -ldl -rdynamic
|
|
+LOCAL_LIBRARIES = -Lrw -lrw $(XPM_LIB) $(TIFF_LIB) $(SGI_LIB) $(JPEG_LIB) $(PNG_LIB)
|
|
|
|
SUBDIRS = rw
|
|
|
|
@@ -152,7 +152,7 @@ install::
|
|
|
|
xaw::
|
|
-$(RM) $(XAWDEPENDS)
|
|
- -$(RM) xaw_incdir ; ln -sf /usr/include/X11/Xaw xaw_incdir
|
|
+ -$(RM) xaw_incdir ; ln -sf ${X11BASE}/include/X11/Xaw xaw_incdir
|
|
echo "XAWLIB_DEFINES = -DXAWPLAIN" > Local.xawdefs
|
|
echo "SYS_LIBRARIES = XawClientLibs -lm" >> Local.xawdefs
|
|
xmkmf -a ; make
|
|
@@ -164,7 +164,7 @@ xaw::
|
|
|
|
xaw3d::
|
|
-$(RM) $(XAWDEPENDS)
|
|
- -$(RM) xaw_incdir ; ln -sf /usr/include/X11/Xaw3d xaw_incdir
|
|
+ -$(RM) xaw_incdir ; ln -sf $(INCDIR)/X11/Xaw3d xaw_incdir
|
|
echo "XAWLIB_DEFINES = -DXAW3D" > Local.xawdefs
|
|
echo "SYS_LIBRARIES = -lXaw3d -L." >> Local.xawdefs
|
|
xmkmf ; cd rw ; xmkmf ; cd .. ; make
|