Thu Jun 28 05:15:38 2012 UTC ()
Apply a similar fix to archivers/star to fix schilyware configuration for
powerpc on NetBSD.


(dholland)
diff -r1.13 -r1.14 pkgsrc/sysutils/sformat/Makefile

cvs diff -r1.13 -r1.14 pkgsrc/sysutils/sformat/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/sformat/Makefile 2012/06/16 08:55:54 1.13
+++ pkgsrc/sysutils/sformat/Makefile 2012/06/28 05:15:38 1.14
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.13 2012/06/16 08:55:54 dholland Exp $ 1# $NetBSD: Makefile,v 1.14 2012/06/28 05:15:38 dholland Exp $
2# 2#
3 3
4DISTNAME= sformat-3.5 4DISTNAME= sformat-3.5
5PKGREVISION= 1 5PKGREVISION= 1
6CATEGORIES= sysutils 6CATEGORIES= sysutils
7MASTER_SITES= ftp://ftp.berlios.de/pub/sformat/ 7MASTER_SITES= ftp://ftp.berlios.de/pub/sformat/
8 8
9MAINTAINER= Andreas.Hallmann@tiscali.de 9MAINTAINER= Andreas.Hallmann@tiscali.de
10HOMEPAGE= http://freshmeat.net/projects/sformat 10HOMEPAGE= http://freshmeat.net/projects/sformat
11COMMENT= SCSI disk maintainance, formating, and ultimative repair tool with support for NetBSD labels 11COMMENT= SCSI disk maintainance, formating, and ultimative repair tool with support for NetBSD labels
12 12
13PKG_INSTALLATION_TYPES= overwrite pkgviews 13PKG_INSTALLATION_TYPES= overwrite pkgviews
14PKG_DESTDIR_SUPPORT= user-destdir 14PKG_DESTDIR_SUPPORT= user-destdir
@@ -26,17 +26,19 @@ MAKE_ENV+= LDOPTX=${LDFLAGS:M*:Q} @@ -26,17 +26,19 @@ MAKE_ENV+= LDOPTX=${LDFLAGS:M*:Q}
26MAKE_FLAGS+= INS_BASE=${DESTDIR}${LOCALBASE:Q} # won't work in MAKE_ENV! 26MAKE_FLAGS+= INS_BASE=${DESTDIR}${LOCALBASE:Q} # won't work in MAKE_ENV!
27 27
28# if we're using a gcc which is named gcc, we need to set CCOM=gcc 28# if we're using a gcc which is named gcc, we need to set CCOM=gcc
29# in MAKE_ENV so the make infrastructure picks the right options. 29# in MAKE_ENV so the make infrastructure picks the right options.
30.if !empty(CC:M*gcc*) 30.if !empty(CC:M*gcc*)
31MAKE_ENV+= CCOM="gcc" 31MAKE_ENV+= CCOM="gcc"
32.endif 32.endif
33 33
34INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 34INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
35 35
36post-extract: 36post-extract:
37 ${CP} ${WRKSRC}/RULES/os-freebsd.id ${WRKSRC}/RULES/os-dragonfly.id 37 ${CP} ${WRKSRC}/RULES/os-freebsd.id ${WRKSRC}/RULES/os-dragonfly.id
38 ${CP} ${WRKSRC}/RULES/os-freebsd.def ${WRKSRC}/RULES/os-dragonfly.def 38 ${CP} ${WRKSRC}/RULES/os-freebsd.def ${WRKSRC}/RULES/os-dragonfly.def
39 ln -s i386-netbsd-cc.rul ${WRKSRC}/RULES/amd64-netbsd-cc.rul 39.for x in amd64 macppc
40 ln -s i386-netbsd-cc.rul ${WRKSRC}/RULES/amd64-netbsd-gcc.rul 40 ln -s i386-netbsd-cc.rul ${WRKSRC}/RULES/${x}-netbsd-cc.rul
 41 ln -s i386-netbsd-cc.rul ${WRKSRC}/RULES/${x}-netbsd-gcc.rul
 42.endfor
41 43
42.include "../../mk/bsd.pkg.mk" 44.include "../../mk/bsd.pkg.mk"