diff options
author | tron <tron@pkgsrc.org> | 2009-04-23 21:38:02 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2009-04-23 21:38:02 +0000 |
commit | 66fc24a4b85f8f9317e921bc1ad4fb4e637087c2 (patch) | |
tree | 18b149fb5692d17a5191a9cbc547eeee63e40ad8 /pkgtools/rpm2pkg/Makefile | |
parent | 396688401702b2029416736a2c9fa16bb38ef149 (diff) | |
download | pkgsrc-66fc24a4b85f8f9317e921bc1ad4fb4e637087c2.tar.gz |
Update "rpm2pkg" package to version 2.2. Changes since version 2.1.1:
- Switch to 2-clause BSD license.
- Compile with extra warnings (again) if GCC is used as the compiler.
- Fix build warnings reported by "-Wsign-compare".
Diffstat (limited to 'pkgtools/rpm2pkg/Makefile')
-rw-r--r-- | pkgtools/rpm2pkg/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgtools/rpm2pkg/Makefile b/pkgtools/rpm2pkg/Makefile index 70dc81963f7..81f86504689 100644 --- a/pkgtools/rpm2pkg/Makefile +++ b/pkgtools/rpm2pkg/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.40 2009/04/09 00:48:14 joerg Exp $ +# $NetBSD: Makefile,v 1.41 2009/04/23 21:38:02 tron Exp $ -DISTNAME= rpm2pkg-2.1.1 -PKGREVISION= 2 +DISTNAME= rpm2pkg-2.2 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty @@ -12,6 +11,8 @@ COMMENT= Convert RPM archives to NetBSD packages CONFLICTS+= suse-base<=6.4 +LICENSE= modified-bsd + PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR} @@ -20,10 +21,10 @@ CPPFLAGS+= ${BUILDLINK_CPPFLAGS.bzip2} ${BUILDLINK_CPPFLAGS.rpm} \ ${BUILDLINK_CPPFLAGS.zlib} LIBS+= -lrpm -lintl -lz -lbz2 -.include "../../mk/bsd.prefs.mk" +.include "../../mk/compiler.mk" -.if (${CC} == gcc) -CFLAGS+= -Wall +.if !empty(CC_VERSION:Mgcc-*) +CFLAGS+= -Wall -Wshadow -Wsign-compare -Wunused-value .endif INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin |