don't hardcode /usr/local and /usr/X11R6

ok sturm@
This commit is contained in:
alek 2004-10-25 17:35:57 +00:00
parent 5e25b7680e
commit 177ad4ee40

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-Makefile,v 1.2 2001/07/06 08:05:29 espie Exp $
$OpenBSD: patch-Makefile,v 1.3 2004/10/25 17:35:57 alek Exp $
--- Makefile.orig Sun May 26 11:26:46 1996
+++ Makefile Fri Jul 6 08:53:41 2001
@@ -24,22 +24,22 @@
@ -70,16 +70,16 @@ $OpenBSD: patch-Makefile,v 1.2 2001/07/06 08:05:29 espie Exp $
-## Solaris needs libgen?
+SYSTEM += -DIA_SLANG
+SYSEXTRAS += slang_c.c
+EXTRAINCS += -I/usr/local/include
+EXTRALIBS += -L/usr/local/lib -lslang -lcurses
+EXTRAINCS += -I${PREFIX}/include
+EXTRALIBS += -L${PREFIX}/lib -lslang -lcurses
+.endif
+
+.if defined(MOTIF)
+# Select the MOTIF interface
+SYSTEM += -DMOTIF
+SYSEXTRAS += motif_c.c motif_i.c motif_p.c
+EXTRAINCS += -I/usr/local/include -L/usr/local/lib
+EXTRAINCS += -I/usr/X11R6/include -L/usr/X11R6/lib
+EXTRAINCS += -I${PREFIX}/include -L${PREFIX}/lib
+EXTRAINCS += -I${X11BASE}/include -L${X11BASE}/lib
+EXTRALIBS += -lXm -lXext -lXt -lX11
+.endif
+