summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1998-02-10 08:07:21 +0000
committerhubertf <hubertf@pkgsrc.org>1998-02-10 08:07:21 +0000
commit66d67f837b6577a62ed8834c2102400ae3d65fb8 (patch)
treed7337b4bd7ae2e7cf16834cb3b7b603c75d605d4 /sysutils
parent3e209ee1af399653b824328aa9f59aae5c1dd32e (diff)
downloadpkgsrc-66d67f837b6577a62ed8834c2102400ae3d65fb8.tar.gz
Use same configuration-rules on all architectures.
Fixes PR 4729 by Steve Allen <wormey@eskimo.com>.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cdrecord/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/cdrecord/Makefile b/sysutils/cdrecord/Makefile
index 7061bd40acc..c675f1d9475 100644
--- a/sysutils/cdrecord/Makefile
+++ b/sysutils/cdrecord/Makefile
@@ -3,7 +3,7 @@
# Date created: 2 November 1997
# Whom: jmz
#
-# $NetBSD: Makefile,v 1.5 1998/02/07 02:15:49 hubertf Exp $
+# $NetBSD: Makefile,v 1.6 1998/02/10 08:07:21 hubertf Exp $
# FreeBSD Id: Makefile,v 1.2 1997/11/05 23:55:31 asami Exp
#
@@ -18,6 +18,12 @@ RUN_DEPENDS= mkisofs:${PORTSDIR}/sysutils/mkisofs
MAN1= cdrecord.1
USE_GMAKE= yes
+post-configure:
+ cd ${WRKSRC}/RULES ; [ -f netbsd-cc.rul ] || mv i386-netbsd-cc.rul netbsd-cc.rul
+ cd ${WRKSRC}/RULES ; [ -f netbsd-gcc.rul ] || mv i386-netbsd-gcc.rul netbsd-gcc.rul
+ cd ${WRKSRC}/RULES ; ln -sf netbsd-gcc.rul ${ARCH}-netbsd-gcc.rul
+ cd ${WRKSRC}/RULES ; ln -sf netbsd-cc.rul ${ARCH}-netbsd-cc.rul
+
do-build:
@cd ${WRKSRC}/lib && ../Gmake PREFIX=${PREFIX}
@cd ${WRKSRC}/cdrecord && ../Gmake PREFIX=${PREFIX}