aboutsummaryrefslogtreecommitdiff
path: root/lang/afnix
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2007-05-26 22:13:54 +0000
committerJohan van Selst <johans@FreeBSD.org>2007-05-26 22:13:54 +0000
commit982d092a06cccab05996728a4921efcefe12b572 (patch)
treefb3f8606e72e3eaf992f40c50ada80f7b43a60a0 /lang/afnix
parent3433dd6c6f7ca54c11298d9813af2736d114d605 (diff)
downloadports-982d092a06cccab05996728a4921efcefe12b572.tar.gz
ports-982d092a06cccab05996728a4921efcefe12b572.zip
Notes
Diffstat (limited to 'lang/afnix')
-rw-r--r--lang/afnix/Makefile4
-rw-r--r--lang/afnix/files/patch-cnf_mak_afnix-freebsd.mak11
-rw-r--r--lang/afnix/files/patch-cnf_mak_afnix-rule.mak17
3 files changed, 16 insertions, 16 deletions
diff --git a/lang/afnix/Makefile b/lang/afnix/Makefile
index 1571c53fb8b6..80c6bf2d64f8 100644
--- a/lang/afnix/Makefile
+++ b/lang/afnix/Makefile
@@ -39,10 +39,6 @@ MAN7= eul::afnix.7 vol-0::afnix.7 vol-1::afnix.7 vol-2::afnix.7
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 700042
-BROKEN= Broken with gcc 4.2
-.endif
-
post-extract:
@cd ${WRKSRC}/cnf/mak && ${CP} -f afnix-gcc-3.mak afnix-freebsd.mak
diff --git a/lang/afnix/files/patch-cnf_mak_afnix-freebsd.mak b/lang/afnix/files/patch-cnf_mak_afnix-freebsd.mak
index fbd65ddeb202..5fb849a9f42f 100644
--- a/lang/afnix/files/patch-cnf_mak_afnix-freebsd.mak
+++ b/lang/afnix/files/patch-cnf_mak_afnix-freebsd.mak
@@ -1,5 +1,5 @@
---- cnf/mak/afnix-freebsd.mak.orig Sat Oct 7 20:11:57 2006
-+++ cnf/mak/afnix-freebsd.mak Sat Oct 7 20:14:17 2006
+--- cnf/mak/afnix-freebsd.mak.orig Sat May 26 23:59:55 2007
++++ cnf/mak/afnix-freebsd.mak Sun May 27 00:00:45 2007
@@ -18,21 +18,21 @@
# - compiler and linker section -
# ----------------------------------------------------------------------------
@@ -11,7 +11,8 @@
+LD = $(CXX)
+LK = $(CXX)
AR = ar
- STDCCFLAGS = -Wall -Werror -MMD -fno-builtin
+-STDCCFLAGS = -Wall -Werror -MMD -fno-builtin
++STDCCFLAGS = -Wall -W -MMD -fno-builtin
STACCFLAGS =
DYNCCFLAGS = -fPIC
PLTCCFLAGS =
@@ -43,8 +44,8 @@
-endif
endif
- # ----------------------------------------------------------------------------
-@@ -93,7 +90,7 @@
+ # adjust for gnu/freebsd platform
+@@ -102,7 +99,7 @@
# adjust linker flags for freebsd
ifeq ($(PLATNAME),freebsd)
diff --git a/lang/afnix/files/patch-cnf_mak_afnix-rule.mak b/lang/afnix/files/patch-cnf_mak_afnix-rule.mak
index 1e7b27a9f249..a8d65562165d 100644
--- a/lang/afnix/files/patch-cnf_mak_afnix-rule.mak
+++ b/lang/afnix/files/patch-cnf_mak_afnix-rule.mak
@@ -1,5 +1,5 @@
---- cnf/mak/afnix-rule.mak.orig Thu Aug 25 07:13:37 2005
-+++ cnf/mak/afnix-rule.mak Wed Aug 31 22:43:14 2005
+--- cnf/mak/afnix-rule.mak.orig Fri Apr 20 08:10:38 2007
++++ cnf/mak/afnix-rule.mak Sat May 26 23:59:55 2007
@@ -24,7 +24,7 @@
ifeq ($(CCMODE),optimized)
ENVFLAGS = $(STDEVFLAGS) $(PLTEVFLAGS)
@@ -9,7 +9,7 @@
CCDEFINE = $(STDDEFINES) $(PLTDEFINES) $(OPTDEFINES)
endif
-@@ -89,7 +89,7 @@
+@@ -95,7 +95,7 @@
-include *.d
%.o : %.cpp
@@ -18,7 +18,7 @@
%.o : %.cxx
$(ENVFLAGS) $(CC) $(XXFLAGS) $(DEFINES) $(XXINCLS) -o $@ -c $<
-@@ -117,7 +117,7 @@
+@@ -124,7 +124,7 @@
install-arlib: $(ARLIB)
@$(MKDIR) $(LIBDIR)
@@ -27,7 +27,7 @@
.PHONY: install-arlib
else
install-arlib: $(ARLIB)
-@@ -141,7 +141,7 @@
+@@ -148,7 +148,7 @@
install-dylib : $(DYLIB)
@$(MKDIR) $(LIBDIR)
@@ -36,7 +36,7 @@
.PHONY: install-dylib
endif
-@@ -160,8 +160,5 @@
+@@ -167,11 +167,8 @@
install-dylib : $(DYLIB)
@$(MKDIR) $(LIBDIR)
@@ -47,7 +47,10 @@
- @$(LN) $(SOMIN) $(LIBDIR)/$(DYLIB)
+ @$(BSD_INSTALL_PROGRAM) $(SOVRS) $(LIBDIR)/$(SOMAJ)
+ @$(LN) $(SOMAJ) $(LIBDIR)/$(DYLIB)
-@@ -187,7 +187,7 @@
+ .PHONY: install-dylib
+ endif
+
+@@ -194,7 +191,7 @@
install-dylib : $(DYLIB)
@$(MKDIR) $(LIBDIR)