summaryrefslogtreecommitdiff
path: root/pkgtools/rpm2pkg
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-19 02:46:07 +0000
committerjlam <jlam>2002-09-19 02:46:07 +0000
commit00208578a45fdeb4ce2f4a08bcf5b49e6fc54a25 (patch)
tree6aecd77697a8fe50c7f2fad96dc39cbe19dcfd31 /pkgtools/rpm2pkg
parentc21413fcffa11a8e7c602aaac02a530d0e518eaf (diff)
downloadpkgsrc-00208578a45fdeb4ce2f4a08bcf5b49e6fc54a25.tar.gz
We're using buildlink2, so don't lie about where the rpm headers and
libraries are actually found.
Diffstat (limited to 'pkgtools/rpm2pkg')
-rw-r--r--pkgtools/rpm2pkg/Makefile10
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