diff options
author | jlam <jlam> | 2002-09-19 02:46:07 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-09-19 02:46:07 +0000 |
commit | 93d5c5c1b4ffaef5c9d1ba7d3e7b14ee0c80be0c (patch) | |
tree | 6aecd77697a8fe50c7f2fad96dc39cbe19dcfd31 /pkgtools | |
parent | a11e0307f6e85eba88acf03fb140a3a1acc4494f (diff) | |
download | pkgsrc-93d5c5c1b4ffaef5c9d1ba7d3e7b14ee0c80be0c.tar.gz |
We're using buildlink2, so don't lie about where the rpm headers and
libraries are actually found.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/rpm2pkg/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgtools/rpm2pkg/Makefile b/pkgtools/rpm2pkg/Makefile index 2ed0fbe972a..93d0d4f5257 100644 --- a/pkgtools/rpm2pkg/Makefile +++ b/pkgtools/rpm2pkg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2002/08/25 19:43:33 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2002/09/19 02:46:07 jlam Exp $ DISTNAME= rpm2pkg-1.2 CATEGORIES= pkgtools @@ -15,14 +15,14 @@ USE_BUILDLINK2= YES NO_CHECKSUM= YES WRKSRC= ${WRKDIR} -RPMLIB= ${BUILDLINK_DIR}/lib/librpm.a +RPMLIB= ${BUILDLINK_PREFIX.rpm}/lib/librpm.a -CFLAGS+= -I${BUILDLINK_DIR}/include/rpm +CFLAGS+= -I${BUILDLINK_PREFIX.rpm}/include/rpm LIBS= ${RPMLIB} -lintl -lz do-build: - ${BUILDLINK_CC} ${FILESDIR}/rpm2pkg.c \ - ${CFLAGS} ${LDFLAGS} ${LIBS} -o ${WRKSRC}/rpm2pkg + ${BUILDLINK_CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/rpm2pkg \ + ${FILESDIR}/rpm2pkg.c ${LIBS} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/rpm2pkg ${PREFIX}/sbin |