Sometimes LOCALBASE should be used, not PREFIX

help and ok sturm@
This commit is contained in:
alek 2004-10-29 10:48:44 +00:00
parent cb106381fd
commit 7a35324e08

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-Makefile,v 1.3 2004/10/25 17:35:57 alek Exp $
$OpenBSD: patch-Makefile,v 1.4 2004/10/29 10:48:44 alek Exp $
--- Makefile.orig Sun May 26 11:26:46 1996
+++ Makefile Fri Jul 6 08:53:41 2001
@@ -24,22 +24,22 @@
@ -70,15 +70,15 @@ $OpenBSD: patch-Makefile,v 1.3 2004/10/25 17:35:57 alek Exp $
-## Solaris needs libgen?
+SYSTEM += -DIA_SLANG
+SYSEXTRAS += slang_c.c
+EXTRAINCS += -I${PREFIX}/include
+EXTRALIBS += -L${PREFIX}/lib -lslang -lcurses
+EXTRAINCS += -I${LOCALBASE}/include
+EXTRALIBS += -L${LOCALBASE}/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${PREFIX}/include -L${PREFIX}/lib
+EXTRAINCS += -I${LOCALBASE}/include -L${LOCALBASE}/lib
+EXTRAINCS += -I${X11BASE}/include -L${X11BASE}/lib
+EXTRALIBS += -lXm -lXext -lXt -lX11
+.endif