aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-08-08 11:04:26 +0800
committersteve <steve@FreeBSD.org>2000-08-08 11:04:26 +0800
commite20387fa1118b2390f497af006b060248a051e2e (patch)
tree2b3dc14ef8f6b0c5262db4beeb23420880bec9ab /lang
parenta38af2d3807927b15982f0e4058ac51088650260 (diff)
downloadfreebsd-ports-gnome-e20387fa1118b2390f497af006b060248a051e2e.tar.gz
freebsd-ports-gnome-e20387fa1118b2390f497af006b060248a051e2e.tar.zst
freebsd-ports-gnome-e20387fa1118b2390f497af006b060248a051e2e.zip
Use ARCH in pkg/PLIST so this port packages cleanly on the Alpha.
Diffstat (limited to 'lang')
-rw-r--r--lang/lcc/Makefile2
-rw-r--r--lang/lcc/pkg-plist14
2 files changed, 10 insertions, 6 deletions
diff --git a/lang/lcc/Makefile b/lang/lcc/Makefile
index b64304b8d766..e16b7359c9bf 100644
--- a/lang/lcc/Makefile
+++ b/lang/lcc/Makefile
@@ -14,6 +14,8 @@ MASTER_SITES= ftp://ftp.cs.princeton.edu/pub/packages/lcc/
MAINTAINER= obrien@FreeBSD.org
#origial [and extensive] patches by Soren Schmidt / sos@freebsd.org
+PLIST_SUB+= ARCH=${ARCH}
+
MAKEFILE= makefile
MAKE_FLAGS= BUILDDIR=${LCCBUILDDIR} HOSTFILE=etc/${OPSYS}.c -f
MAN1= bprint.1 lcc.1
diff --git a/lang/lcc/pkg-plist b/lang/lcc/pkg-plist
index c638401c9062..f3a792bb5764 100644
--- a/lang/lcc/pkg-plist
+++ b/lang/lcc/pkg-plist
@@ -1,7 +1,9 @@
-lib/lcc-3.6/i386-FreeBSD/lcc
-lib/lcc-3.6/i386-FreeBSD/rcc
-lib/lcc-3.6/i386-FreeBSD/cpp
-lib/lcc-3.6/i386-FreeBSD/bprint
-lib/lcc-3.6/i386-FreeBSD/bbexit.o
-bin/lcc
bin/bprint
+bin/lcc
+lib/lcc-3.6/%%ARCH%%-FreeBSD/bbexit.o
+lib/lcc-3.6/%%ARCH%%-FreeBSD/bprint
+lib/lcc-3.6/%%ARCH%%-FreeBSD/cpp
+lib/lcc-3.6/%%ARCH%%-FreeBSD/lcc
+lib/lcc-3.6/%%ARCH%%-FreeBSD/rcc
+@dirrm lib/lcc-3.6/%%ARCH%%-FreeBSD
+@dirrm lib/lcc-3.6