diff options
author | sketch <sketch@pkgsrc.org> | 2009-01-23 11:27:16 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2009-01-23 11:27:16 +0000 |
commit | cce651087b51d896e7a11cbda9143d48bc23cce3 (patch) | |
tree | 990d114de45aa3fc0ec168d39b55e957b2fa1fe5 /pkgtools/rpm2pkg | |
parent | 4939c4ccab663d8c60eaffdcd5ada27afeb0cc4f (diff) | |
download | pkgsrc-cce651087b51d896e7a11cbda9143d48bc23cce3.tar.gz |
Change to WRKSRC before compiling, fixes builds with read-only pkgsrc tree.
Diffstat (limited to 'pkgtools/rpm2pkg')
-rw-r--r-- | pkgtools/rpm2pkg/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/rpm2pkg/Makefile b/pkgtools/rpm2pkg/Makefile index 919f67de214..a77ebe10d38 100644 --- a/pkgtools/rpm2pkg/Makefile +++ b/pkgtools/rpm2pkg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2008/11/16 10:25:34 tron Exp $ +# $NetBSD: Makefile,v 1.39 2009/01/23 11:27:16 sketch Exp $ DISTNAME= rpm2pkg-2.1.1 PKGREVISION= 2 @@ -30,7 +30,7 @@ CFLAGS+= -Wall INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin do-build: - ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o ${WRKSRC}/rpm2pkg \ + cd ${WRKSRC}; ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o rpm2pkg \ ${FILESDIR}/rpm2pkg.c ${LIBS} do-install: |