aboutsummaryrefslogtreecommitdiff
path: root/devel/hp48xgcc
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2006-09-04 20:25:28 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2006-09-04 20:25:28 +0000
commit84a71f000fe2c13ffc3b7787d613f9164343f041 (patch)
tree6170b128cb62ac0dae14f149a81895d1fcf2fecc /devel/hp48xgcc
parenta0f3257dd6c87b3cfdbe10d641433a1bc5d3e087 (diff)
downloadports-84a71f000fe2c13ffc3b7787d613f9164343f041.tar.gz
ports-84a71f000fe2c13ffc3b7787d613f9164343f041.zip
- Unbreak the build with recent GNU make
- No longer DEPRECATED
Notes
Notes: svn path=/head/; revision=172218
Diffstat (limited to 'devel/hp48xgcc')
-rw-r--r--devel/hp48xgcc/Makefile4
-rw-r--r--devel/hp48xgcc/files/patch-Makefile13
2 files changed, 10 insertions, 7 deletions
diff --git a/devel/hp48xgcc/Makefile b/devel/hp48xgcc/Makefile
index b2dc016b97c8..a287c0f86cc9 100644
--- a/devel/hp48xgcc/Makefile
+++ b/devel/hp48xgcc/Makefile
@@ -40,11 +40,7 @@ MAKE_ARGS= GCC_SRC="${GCC_DIR}" GCC_VERSION="${GCC_VER}" \
.if ${ARCH} != "i386"
BROKEN= Configure fails on !i386
-.else
-BROKEN= fails to install
.endif
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2006-12-01
post-extract: .SILENT
# Extract GCC distribution separately because of USE_ZIP/.tar.gz conflict
diff --git a/devel/hp48xgcc/files/patch-Makefile b/devel/hp48xgcc/files/patch-Makefile
index 42538c1cee04..e6bda877f5a4 100644
--- a/devel/hp48xgcc/files/patch-Makefile
+++ b/devel/hp48xgcc/files/patch-Makefile
@@ -1,6 +1,6 @@
--- Makefile.orig Thu Nov 7 18:58:32 1996
+++ Makefile Mon Feb 20 18:49:33 2006
-@@ -34,19 +34,20 @@
+@@ -34,40 +34,43 @@
CLASS_SRC = ./class
MKDIRHIER = mkdir -p
@@ -26,8 +26,15 @@
zip: hp48xgcc-$(VERSION_TAG).zip
-@@ -57,17 +58,18 @@
+-usr-tree: FORCE
+- cd $(GCC_SRC); perl -e '\
+- foreach $$t("cccp", "xgcc", "cc1") { \
++USR_TREE = 'foreach $$t("cccp", "xgcc", "cc1") { \
+ if(-e $$t && !-e "$$t$(EXE)") { unlink $$t; } \
elsif(!-e $$t && -e "$$t$(EXE)") { unlink "$$t$(EXE)"; } }'
++
++usr-tree: FORCE
++ cd $(GCC_SRC); perl -e $(USR_TREE)
$(MAKE) -C $(GCC_SRC) $(GCC_MAKE_ARGS) xgcc cc1 cccp
$(MAKE) -e -C $(CLASS_SRC)
- $(MAKE) usr-tree1
@@ -48,7 +55,7 @@
public-files: $(addprefix $(INSTPUB)/,$(PUBDIRS)) \
$(addprefix $(INSTPUB)/,$(PUBFILES))
-@@ -76,22 +78,25 @@
+@@ -76,22 +79,25 @@
cd $(ROOT) && zip -uyr $@ usr
$(INSTBIN)/xgcc$(EXE): $(GCC_SRC)/xgcc$(EXE)