1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/graphics/pixmap/files/patch-ac
Satoshi Asami 169b5ef313 Patch to Imakefile.
(1) Add sed command to take out "Pixmap" from beginning of lines in
app-defaults file.

(2) Change /net/koala/... to $(INCDIR), etc.  This was causing a very
strange effect on my machine because (a) my amd is sitting on /net with
a "hosts" map, and (b) there is a machine called "koala" on the net! ;)
1995-02-28 00:44:12 +00:00

25 lines
800 B
Plaintext

--- ./Imakefile.org Fri May 13 04:04:38 1994
+++ ./Imakefile Mon Feb 27 16:31:46 1995
@@ -27,10 +27,9 @@
PIXMAPDIR = $(LIBDIR)/Pixmap
XCOMM Specify here your Xpm installation directories
- XPM_INCLUDEDIR = /usr/local/include
XPM_LIBDIR = $(LIBDIR)/xpm
- XPM_INCLUDEDIR = /net/koala/include
- XPM_LIBDIR = /net/koala/lib/sun4
+ XPM_INCLUDEDIR = $(INCDIR)
+ XPM_LIBDIR = $(USRLIBDIR)
EXTRA_INCLUDES = $(R5EXT) -I. -I.. -I$(XPM_INCLUDEDIR) -I/usr/include/$(MOTIFVER)
#ifdef USE_MOTIF
@@ -89,7 +88,7 @@
Pixmap.ad: APixmap.ad
@echo Pixmap compiled with Athena.
- @sed -e "s#@PIXMAPDIR@#$(PIXMAPDIR)/#g" <APixmap.ad >Pixmap.ad
+ @sed -e "s#@PIXMAPDIR@#$(PIXMAPDIR)/#g" -e "s/^Pixmap//" <APixmap.ad >Pixmap.ad
#endif
dotpixmap: $(RGBTXT)