summaryrefslogtreecommitdiff
path: root/lang/squeak1/files/patch-aa
blob: c5a10c35319c09c8c2f8e2e5eb47d5786dcb9dfc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
*** /usr/ports/lang/squeak1/work/1.31/src/GNUmakefile.conf	Thu Mar  5 15:42:07 1998
--- src/GNUmakefile.conf	Mon Dec 21 01:01:59 1998
***************
*** 27,33 ****
  
  # platform identification
  
! UTSMAC:=	$(shell arch     | tr [A-Z] [a-z])
  UTSSYS:=	$(shell uname -s | tr [A-Z] [a-z] | sed 's/-//g')
  UTSREL:=	$(shell uname -r | tr [A-Z] [a-z])
  
--- 27,34 ----
  
  # platform identification
  
! #UTSMAC:=	$(shell arch     | tr [A-Z] [a-z])
! UTSMAC:=	$(shell uname -m | tr [A-Z] [a-z])
  UTSSYS:=	$(shell uname -s | tr [A-Z] [a-z] | sed 's/-//g')
  UTSREL:=	$(shell uname -r | tr [A-Z] [a-z])
  
***************
*** 52,57 ****
--- 53,71 ----
  #									   #
  #			START OF CONFIGURATION SECTION			   #
  #									   #
+ ifeq ($(SYSTEM),                                        freebsd)
+   CC=		gcc
+   CCFLAGS:=	-O3 -fomit-frame-pointer $(PROFILE)
+   INCDIRS:=	-I/usr/X11R6/include
+   LDO=		ld -r
+   LD=		gcc
+   LDFLAGS:=	$(PROFILE)
+   LIBDIRS=	-L/usr/X11R6/lib
+   LIBS=		-lX11 -lXext -lm
+   GNU=		gnu-
+   GAWK=		awk
+ endif
+ 
  ifeq ($(SYSTEM),					linux)
    CC=		gcc
    CCFLAGS:=	-O2 -g $(PROFILE)