--- ./Makefile.orig	2021-06-01 09:49:50 +0000
+++ ./Makefile	2021-06-01 09:50:30 +0000
@@ -518,7 +518,7 @@
 #   perllibdir
 # This can help installing the suite in a relocatable way.
 
-prefix = $(HOME)
+prefix = /opt/freeware
 bindir = $(prefix)/bin
 mandir = $(prefix)/share/man
 infodir = $(prefix)/share/info
@@ -547,7 +547,7 @@
 export prefix bindir sharedir sysconfdir gitwebdir perllibdir localedir
 
 # Set our default programs
-CC = cc
+CC = gcc
 AR = ar
 RM = rm -f
 DIFF = diff
--- Makefile.orig	2021-07-07 13:20:25 +0000
+++ Makefile	2021-07-07 13:21:29 +0000
@@ -1185,6 +1185,7 @@
 # tweaked by config.* below as well as the command-line, both of
 # which'll override these defaults.
 CFLAGS = -g -O2 -Wall
+CFLAGS = -std=gnu99 -O2
 LDFLAGS =
 CC_LD_DYNPATH = -Wl,-rpath,
 BASIC_CFLAGS = -I.
--- Makefile.orig	2021-07-16 00:41:28 +0000
+++ Makefile	2021-07-15 13:34:55 +0000
@@ -1502,7 +1502,7 @@
 endif
 ifndef NO_GETTEXT
 ifndef LIBC_CONTAINS_LIBINTL
-	EXTLIBS += -lintl
+	EXTLIBS += /opt/freeware/lib/libintl.a
 endif
 endif
 ifdef NEEDS_SOCKET
--- Makefile.orig	2021-07-16 00:57:55 +0000
+++ Makefile	2021-07-16 00:58:28 +0000
@@ -1491,7 +1491,7 @@
 		ifdef NEEDS_LIBINTL_BEFORE_LIBICONV
 			ICONV_LINK += -lintl
 		endif
-		EXTLIBS += $(ICONV_LINK) -liconv
+		EXTLIBS += $(ICONV_LINK) /opt/freeware/lib/libiconv.a
 	endif
 endif
 ifdef ICONV_OMITS_BOM
