aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cdrecord/Makefile14
-rw-r--r--sysutils/cdrecord/files/patch-ac20
-rw-r--r--sysutils/cdrtools-devel/Makefile14
-rw-r--r--sysutils/cdrtools-devel/files/patch-ac20
-rw-r--r--sysutils/cdrtools/Makefile14
-rw-r--r--sysutils/cdrtools/files/patch-ac20
6 files changed, 90 insertions, 12 deletions
diff --git a/sysutils/cdrecord/Makefile b/sysutils/cdrecord/Makefile
index 5bab825a2070..6e71ea8c9c98 100644
--- a/sysutils/cdrecord/Makefile
+++ b/sysutils/cdrecord/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: cdrecord
-# Version required: 1.6
+# Version required: 1.8a28
# Date created: 2 November 1997
# Whom: jmz
#
@@ -17,12 +17,18 @@ MAINTAINER= dirk@FreeBSD.org
WRKSRC= ${WRKDIR}/cdrecord-1.8
MAN1= cdrecord.1 cdda2wav.1
USE_GMAKE= yes
-MAKE_ENV= COPTX=-DBSD_SCSI_SENSE_BUG
+MAKE_ENV= COPTX="-DBSD_SCSI_SENSE_BUG -DHAVE_SIZE_T"
+
+.if ${MACHINE_ARCH} == "alpha"
+post-extract:
+ ${LN} -s ${WRKSRC}/RULES/i386-freebsd-cc.rul \
+ ${WRKSRC}/RULES/alpha-freebsd-cc.rul
+.endif
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/OBJ/i386-freebsd-cc/cdrecord \
+ @${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/OBJ/${ARCH}-freebsd-cc/cdrecord \
${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/OBJ/i386-freebsd-cc/cdda2wav \
+ @${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/OBJ/${ARCH}-freebsd-cc/cdda2wav \
${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/cdrecord/cdrecord.1 ${PREFIX}/man/man1
@${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2wav.1 ${PREFIX}/man/man1
diff --git a/sysutils/cdrecord/files/patch-ac b/sysutils/cdrecord/files/patch-ac
new file mode 100644
index 000000000000..984db22aac20
--- /dev/null
+++ b/sysutils/cdrecord/files/patch-ac
@@ -0,0 +1,20 @@
+--- include/schily.h.orig Mon Aug 30 16:50:46 1999
++++ include/schily.h Sat Sep 18 17:25:57 1999
+@@ -34,7 +34,7 @@
+ #define _SCHILY_H
+
+ #ifndef _STANDARD_H
+-#include <standard.h.h>
++#include <standard.h>
+ #endif
+
+ #if defined(_SIZE_T) || defined(_T_SIZE_) || defined(_T_SIZE) || \
+@@ -139,7 +139,7 @@
+ extern int geterrno __PR((void));
+ extern void raisecond __PR((const char *, long));
+ #ifdef HAVE_SIZE_T
+-extern int snprintf __PR((char *, size_t, const char *, ...));
++/*extern int snprintf __PR((char *, size_t, const char *, ...));*/
+ #endif
+ /*extern int sprintf __PR((char *, const char *, ...)); ist woanders falsch deklariert !!!*/
+ extern char *strcatl __PR((char *, ...));
diff --git a/sysutils/cdrtools-devel/Makefile b/sysutils/cdrtools-devel/Makefile
index 5bab825a2070..6e71ea8c9c98 100644
--- a/sysutils/cdrtools-devel/Makefile
+++ b/sysutils/cdrtools-devel/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: cdrecord
-# Version required: 1.6
+# Version required: 1.8a28
# Date created: 2 November 1997
# Whom: jmz
#
@@ -17,12 +17,18 @@ MAINTAINER= dirk@FreeBSD.org
WRKSRC= ${WRKDIR}/cdrecord-1.8
MAN1= cdrecord.1 cdda2wav.1
USE_GMAKE= yes
-MAKE_ENV= COPTX=-DBSD_SCSI_SENSE_BUG
+MAKE_ENV= COPTX="-DBSD_SCSI_SENSE_BUG -DHAVE_SIZE_T"
+
+.if ${MACHINE_ARCH} == "alpha"
+post-extract:
+ ${LN} -s ${WRKSRC}/RULES/i386-freebsd-cc.rul \
+ ${WRKSRC}/RULES/alpha-freebsd-cc.rul
+.endif
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/OBJ/i386-freebsd-cc/cdrecord \
+ @${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/OBJ/${ARCH}-freebsd-cc/cdrecord \
${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/OBJ/i386-freebsd-cc/cdda2wav \
+ @${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/OBJ/${ARCH}-freebsd-cc/cdda2wav \
${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/cdrecord/cdrecord.1 ${PREFIX}/man/man1
@${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2wav.1 ${PREFIX}/man/man1
diff --git a/sysutils/cdrtools-devel/files/patch-ac b/sysutils/cdrtools-devel/files/patch-ac
new file mode 100644
index 000000000000..984db22aac20
--- /dev/null
+++ b/sysutils/cdrtools-devel/files/patch-ac
@@ -0,0 +1,20 @@
+--- include/schily.h.orig Mon Aug 30 16:50:46 1999
++++ include/schily.h Sat Sep 18 17:25:57 1999
+@@ -34,7 +34,7 @@
+ #define _SCHILY_H
+
+ #ifndef _STANDARD_H
+-#include <standard.h.h>
++#include <standard.h>
+ #endif
+
+ #if defined(_SIZE_T) || defined(_T_SIZE_) || defined(_T_SIZE) || \
+@@ -139,7 +139,7 @@
+ extern int geterrno __PR((void));
+ extern void raisecond __PR((const char *, long));
+ #ifdef HAVE_SIZE_T
+-extern int snprintf __PR((char *, size_t, const char *, ...));
++/*extern int snprintf __PR((char *, size_t, const char *, ...));*/
+ #endif
+ /*extern int sprintf __PR((char *, const char *, ...)); ist woanders falsch deklariert !!!*/
+ extern char *strcatl __PR((char *, ...));
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile
index 5bab825a2070..6e71ea8c9c98 100644
--- a/sysutils/cdrtools/Makefile
+++ b/sysutils/cdrtools/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: cdrecord
-# Version required: 1.6
+# Version required: 1.8a28
# Date created: 2 November 1997
# Whom: jmz
#
@@ -17,12 +17,18 @@ MAINTAINER= dirk@FreeBSD.org
WRKSRC= ${WRKDIR}/cdrecord-1.8
MAN1= cdrecord.1 cdda2wav.1
USE_GMAKE= yes
-MAKE_ENV= COPTX=-DBSD_SCSI_SENSE_BUG
+MAKE_ENV= COPTX="-DBSD_SCSI_SENSE_BUG -DHAVE_SIZE_T"
+
+.if ${MACHINE_ARCH} == "alpha"
+post-extract:
+ ${LN} -s ${WRKSRC}/RULES/i386-freebsd-cc.rul \
+ ${WRKSRC}/RULES/alpha-freebsd-cc.rul
+.endif
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/OBJ/i386-freebsd-cc/cdrecord \
+ @${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/OBJ/${ARCH}-freebsd-cc/cdrecord \
${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/OBJ/i386-freebsd-cc/cdda2wav \
+ @${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/OBJ/${ARCH}-freebsd-cc/cdda2wav \
${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/cdrecord/cdrecord.1 ${PREFIX}/man/man1
@${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2wav.1 ${PREFIX}/man/man1
diff --git a/sysutils/cdrtools/files/patch-ac b/sysutils/cdrtools/files/patch-ac
new file mode 100644
index 000000000000..984db22aac20
--- /dev/null
+++ b/sysutils/cdrtools/files/patch-ac
@@ -0,0 +1,20 @@
+--- include/schily.h.orig Mon Aug 30 16:50:46 1999
++++ include/schily.h Sat Sep 18 17:25:57 1999
+@@ -34,7 +34,7 @@
+ #define _SCHILY_H
+
+ #ifndef _STANDARD_H
+-#include <standard.h.h>
++#include <standard.h>
+ #endif
+
+ #if defined(_SIZE_T) || defined(_T_SIZE_) || defined(_T_SIZE) || \
+@@ -139,7 +139,7 @@
+ extern int geterrno __PR((void));
+ extern void raisecond __PR((const char *, long));
+ #ifdef HAVE_SIZE_T
+-extern int snprintf __PR((char *, size_t, const char *, ...));
++/*extern int snprintf __PR((char *, size_t, const char *, ...));*/
+ #endif
+ /*extern int sprintf __PR((char *, const char *, ...)); ist woanders falsch deklariert !!!*/
+ extern char *strcatl __PR((char *, ...));