aboutsummaryrefslogtreecommitdiff
path: root/archivers/star
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-05-31 05:08:14 +0000
committerSteve Price <steve@FreeBSD.org>1999-05-31 05:08:14 +0000
commitc707bf29ed5bd01f851db36e85eb6501f32c98d4 (patch)
tree9bd8e1fefc8b09075946526140553ca99c59eca8 /archivers/star
parent46b5aaf91d19d03cef0b71a3e944ab71dd5d0059 (diff)
downloadports-c707bf29ed5bd01f851db36e85eb6501f32c98d4.tar.gz
ports-c707bf29ed5bd01f851db36e85eb6501f32c98d4.zip
Notes
Diffstat (limited to 'archivers/star')
-rw-r--r--archivers/star/Makefile9
-rw-r--r--archivers/star/files/patch-aa11
2 files changed, 18 insertions, 2 deletions
diff --git a/archivers/star/Makefile b/archivers/star/Makefile
index 896727c4cca7..4109f941ec35 100644
--- a/archivers/star/Makefile
+++ b/archivers/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/archivers/star/files/patch-aa b/archivers/star/files/patch-aa
new file mode 100644
index 000000000000..8d4d7feffcbb
--- /dev/null
+++ b/archivers/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 *));