pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/rpm2pkg Change to WRKSRC before compiling, fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b2df684a8e9
branches:  trunk
changeset: 553503:4b2df684a8e9
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Fri Jan 23 11:27:16 2009 +0000

description:
Change to WRKSRC before compiling, fixes builds with read-only pkgsrc tree.

diffstat:

 pkgtools/rpm2pkg/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fe6d8ded71f1 -r 4b2df684a8e9 pkgtools/rpm2pkg/Makefile
--- a/pkgtools/rpm2pkg/Makefile Fri Jan 23 11:23:28 2009 +0000
+++ b/pkgtools/rpm2pkg/Makefile Fri Jan 23 11:27:16 2009 +0000
@@ -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 @@
 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:



Home | Main Index | Thread Index | Old Index