summaryrefslogtreecommitdiffstats
path: root/sysutils/cdrtools/Makefile
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-09-18 18:52:53 +0000
committerdirk <dirk@FreeBSD.org>1999-09-18 18:52:53 +0000
commitc58a921f0a71863bbef6e135abf47b3a51985201 (patch)
tree13e961a40dc2370f039c733923866809a4aab967 /sysutils/cdrtools/Makefile
parent3d28da32e82192f222b4a08081eaf4c0afdd6737 (diff)
downloadFreeBSD-ports-c58a921f0a71863bbef6e135abf47b3a51985201.zip
FreeBSD-ports-c58a921f0a71863bbef6e135abf47b3a51985201.tar.gz
Make cdrecord build on alpha (at least).
It compiled fine on beast.freebsd.org. But I couldn't really test it there. So some feedback from alpha people would be great.
Diffstat (limited to 'sysutils/cdrtools/Makefile')
-rw-r--r--sysutils/cdrtools/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile
index 5bab825..6e71ea8 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
OpenPOWER on IntegriCloud