aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/star
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-05-31 13:08:14 +0800
committersteve <steve@FreeBSD.org>1999-05-31 13:08:14 +0800
commit6e82afbeb7aea5dfba818da9261df90418b30c3d (patch)
treeffae72df2407ccaf80e32de45b3b67924c500605 /sysutils/star
parent5fda3e7f70f893b792b461b9fe59987899dc36b9 (diff)
downloadfreebsd-ports-gnome-6e82afbeb7aea5dfba818da9261df90418b30c3d.tar.gz
freebsd-ports-gnome-6e82afbeb7aea5dfba818da9261df90418b30c3d.tar.zst
freebsd-ports-gnome-6e82afbeb7aea5dfba818da9261df90418b30c3d.zip
Fix build for Alpha.
Diffstat (limited to 'sysutils/star')
-rw-r--r--sysutils/star/Makefile9
-rw-r--r--sysutils/star/files/patch-aa11
2 files changed, 18 insertions, 2 deletions
diff --git a/sysutils/star/Makefile b/sysutils/star/Makefile
index 896727c4cca7..4109f941ec35 100644
--- a/sysutils/star/Makefile
+++ b/sysutils/star/Makefile
@@ -3,7 +3,7 @@
# Date created: Thu May 1 20:28:44 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.6 1997/10/09 21:04:45 andreas Exp $
+# $Id: Makefile,v 1.7 1998/12/24 13:15:23 dirk Exp $
#
DISTNAME= star-1.2
@@ -18,8 +18,13 @@ USE_GMAKE= yes
MAKE_ENV= MAKEPROG=gmake
MAN1= star.1
+.if ${MACHINE_ARCH} != "i386"
+post-extract:
+ @${LN} -sf i386-freebsd-cc.rul ${WRKSRC}/RULES/${MACHINE_ARCH}-freebsd-cc.rul
+.endif
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/star/OBJ/i386-freebsd-cc/star ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/star/OBJ/${MACHINE_ARCH}-freebsd-cc/star ${PREFIX}/bin
${LN} -sf ${PREFIX}/bin/star ${PREFIX}/bin/ustar
${INSTALL_MAN} ${WRKSRC}/star/star.1 ${PREFIX}/man/man1
diff --git a/sysutils/star/files/patch-aa b/sysutils/star/files/patch-aa
new file mode 100644
index 000000000000..8d4d7feffcbb
--- /dev/null
+++ b/sysutils/star/files/patch-aa
@@ -0,0 +1,11 @@
+--- include/standard.h.orig Sun May 30 23:20:26 1999
++++ include/standard.h Sun May 30 23:21:25 1999
+@@ -182,7 +182,7 @@
+ extern int wait_chld __PR((int));
+ extern int geterrno __PR((void));
+ extern void raisecond __PR((const char *, long));
+-extern int snprintf __PR((char *, unsigned, const char *, ...));
++/*extern int snprintf __PR((char *, unsigned, const char *, ...)); */
+ /*extern int sprintf __PR((char *, const char *, ...)); ist woanders falsch deklariert !!!*/
+ extern char *strcatl __PR((char *, ...));
+ extern int streql __PR((const char *, const char *));