aboutsummaryrefslogtreecommitdiff
path: root/examples/gcc-defaults
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gcc-defaults')
-rw-r--r--examples/gcc-defaults/Makefile1
-rw-r--r--examples/gcc-defaults/cpp.p5m6
-rw-r--r--examples/gcc-defaults/g++.p5m6
-rw-r--r--examples/gcc-defaults/gcc.p5m6
-rw-r--r--examples/gcc-defaults/gfortran.p5m8
5 files changed, 18 insertions, 9 deletions
diff --git a/examples/gcc-defaults/Makefile b/examples/gcc-defaults/Makefile
index 9e87543..fdb02a2 100644
--- a/examples/gcc-defaults/Makefile
+++ b/examples/gcc-defaults/Makefile
@@ -1,5 +1,6 @@
include /usr/share/cibs/rules/ips.mk
+name := gcc-default
default-version := 4.4
version := $(default-version)
diff --git a/examples/gcc-defaults/cpp.p5m b/examples/gcc-defaults/cpp.p5m
index 96df610..8027867 100644
--- a/examples/gcc-defaults/cpp.p5m
+++ b/examples/gcc-defaults/cpp.p5m
@@ -27,6 +27,8 @@ set name=pkg.summary value="GNU C preprocessor, default version"
depend fmri=pkg:/developer/gcc/cpp-$(default-version) type=require
-link path=usr/bin/cpp target=cpp-$(default-version)
-link path=usr/share/man/man1/cpp.1 target=cpp-$(default-version).1
+link path=usr/bin/cpp target=cpp-$(default-version) \
+ original_name=developer/gcc-3
+link path=usr/share/man/man1/cpp.1 target=cpp-$(default-version).1 \
+ original_name=developer/gcc-3
diff --git a/examples/gcc-defaults/g++.p5m b/examples/gcc-defaults/g++.p5m
index 255a0c3..40decb5 100644
--- a/examples/gcc-defaults/g++.p5m
+++ b/examples/gcc-defaults/g++.p5m
@@ -27,6 +27,8 @@ set name=pkg.summary value="GNU C++ compiler, default version"
depend fmri=pkg:/developer/gcc/g++-$(default-version) type=require
-link path=usr/bin/g++ target=g++-$(default-version)
-link path=usr/share/man/man1/g++.1 target=g++-$(default-version).1
+link path=usr/bin/g++ target=g++-$(default-version) \
+ original_name=developer/gcc-3
+link path=usr/share/man/man1/g++.1 target=g++-$(default-version).1 \
+ original_name=developer/gcc-3
diff --git a/examples/gcc-defaults/gcc.p5m b/examples/gcc-defaults/gcc.p5m
index 6e860eb..3534350 100644
--- a/examples/gcc-defaults/gcc.p5m
+++ b/examples/gcc-defaults/gcc.p5m
@@ -27,6 +27,8 @@ set name=pkg.summary value="GNU C compiler, default version"
depend fmri=pkg:/developer/gcc/gcc-$(default-version) type=require
-link path=usr/bin/gcc target=gcc-$(default-version)
-link path=usr/share/man/man1/gcc.1 target=gcc-$(default-version).1
+link path=usr/bin/gcc target=gcc-$(default-version) \
+ original_name=developer/gcc-3
+link path=usr/share/man/man1/gcc.1 target=gcc-$(default-version).1 \
+ original_name=developer/gcc-3
diff --git a/examples/gcc-defaults/gfortran.p5m b/examples/gcc-defaults/gfortran.p5m
index a690ec2..cda97d9 100644
--- a/examples/gcc-defaults/gfortran.p5m
+++ b/examples/gcc-defaults/gfortran.p5m
@@ -22,11 +22,13 @@
#
-set name=pkg.fmri value=pkg:/developer/gfortran/gfortran@$(ips-version)
+set name=pkg.fmri value=pkg:/developer/gcc/gfortran@$(ips-version)
set name=pkg.summary value="GNU Frotran 95 compiler, default version"
depend fmri=pkg:/developer/gcc/gfortran-$(default-version) type=require
-link path=usr/bin/gfortran target=gfortran-$(default-version)
-link path=usr/share/man/man1/gfortran.1 target=gfortran-$(default-version).1
+link path=usr/bin/gfortran target=gfortran-$(default-version) \
+ original_name=developer/gcc-3
+link path=usr/share/man/man1/gfortran.1 target=gfortran-$(default-version).1 \
+ original_name=developer/gcc-3