summaryrefslogtreecommitdiff
path: root/pkgtools/rpm2pkg/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-19 02:46:07 +0000
committerjlam <jlam@pkgsrc.org>2002-09-19 02:46:07 +0000
commit0e232e0e0110b206a9060a76ffc040e10c9ab516 (patch)
tree6aecd77697a8fe50c7f2fad96dc39cbe19dcfd31 /pkgtools/rpm2pkg/Makefile
parentdf933f43c4c8edae6a642311f287ded558913e1e (diff)
downloadpkgsrc-0e232e0e0110b206a9060a76ffc040e10c9ab516.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/Makefile')
-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