diff options
author | jlam <jlam> | 2002-10-20 23:23:53 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-10-20 23:23:53 +0000 |
commit | 6cf25ca1041772f22443a04502df831a2a076643 (patch) | |
tree | 1a9cff799ffceaaf27d188e5888202ea0e3fd63f /pkgtools | |
parent | 65d3c8c61228c676973f4ef90322389e8c0a9e63 (diff) | |
download | pkgsrc-6cf25ca1041772f22443a04502df831a2a076643.tar.gz |
Use BUILDLINK_CPPFLAGS.rpm and rely on buildlink2 to make "-lrpm" resolve
to the correct library.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/rpm2pkg/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgtools/rpm2pkg/Makefile b/pkgtools/rpm2pkg/Makefile index 93d0d4f5257..e2a6f31c357 100644 --- a/pkgtools/rpm2pkg/Makefile +++ b/pkgtools/rpm2pkg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2002/09/19 02:46:07 jlam Exp $ +# $NetBSD: Makefile,v 1.15 2002/10/20 23:23:53 jlam Exp $ DISTNAME= rpm2pkg-1.2 CATEGORIES= pkgtools @@ -15,10 +15,8 @@ USE_BUILDLINK2= YES NO_CHECKSUM= YES WRKSRC= ${WRKDIR} -RPMLIB= ${BUILDLINK_PREFIX.rpm}/lib/librpm.a - -CFLAGS+= -I${BUILDLINK_PREFIX.rpm}/include/rpm -LIBS= ${RPMLIB} -lintl -lz +CFLAGS+= ${BUILDLINK_CPPFLAGS.rpm} +LIBS= -lrpm -lintl -lz do-build: ${BUILDLINK_CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/rpm2pkg \ |