patch-samterm_Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. $OpenBSD: patch-samterm_Makefile,v 1.1 2002/11/04 10:28:56 markus Exp $
  2. --- samterm/Makefile.orig Thu Oct 31 00:48:26 2002
  3. +++ samterm/Makefile Thu Oct 31 00:49:03 2002
  4. @@ -8,7 +8,7 @@
  5. #
  6. # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
  7. # if your compiler supports posix-compatible compilation
  8. -OS=-DIRIX5 -ansiposix
  9. +OS=-D_POSIX_SOURCE -DSOLARIS
  10. # add -Iincludedir for any include directories that need to be searched
  11. # for posix header files (for UMIPS, add -I/usr/include/posix)
  12. @@ -16,16 +16,15 @@ INCS=-I../include
  13. # SAMTERM contains the name of the file containing the samterm
  14. # executable.
  15. -SAMTERM=/v/bin/samterm
  16. +SAMTERM=${PREFIX}/bin/samterm
  17. # set this if your X libraries are in different locations
  18. # or if you need extra libraries to load with X11 applications
  19. -XLIBS=-lXt -lX11
  20. +XLIBS=-L${X11BASE}/lib -lXt -lX11
  21. -CFLAGS=$(OS) $(INCS) -D_LIBXG_EXTENSION
  22. +CFLAGS+=$(OS) $(INCS) -D_LIBXG_EXTENSION
  23. LIBS=../libframe/libframe.a ../libXg/libXg.a
  24. -CC=cc
  25. OBJ=main.o flayer.o icons.o io.o menu.o mesg.o rasp.o scroll.o unix.o