openbsd-ports/misc/rpm/Makefile
espie c93406f23e update to 3.0.6 (from kevlo@), and fix quite a few details I should
have fixed when I imported this port:
don't build rpm using -static, as we don't intend to use rpm to install
a new system (the configuration system of this port is stupid).
one thing leading to another: fix the usual libtool bug, fix the usual
gettext bug... fed up of GNU.
2000-12-06 09:45:02 +00:00

36 lines
873 B
Makefile

# $OpenBSD: Makefile,v 1.5 2000/12/06 09:45:02 espie Exp $
DISTNAME= rpm-3.0.6
CATEGORIES= misc archivers emulators
NEED_VERSION= 1.310
# GPL
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
MAINTAINER= Marc Espie <espie@openbsd.org>
HOMEPAGE= http://www.rpm.org/
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
LIB_DEPENDS= bz2.::archivers/bzip2
RUN_DEPENDS= gettext::devel/gettext
LIB_DEPENDS+= intl.::devel/gettext
LIB_DEPENDS+= popt.0.::devel/popt
CONFIGURE_STYLE= gnu
# Enforce check for pgp, so no build-time depend is needed
CONFIGURE_ENV= PGPBIN=$(LOCALBASE)/bin/pgp
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include
CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib
CONFIGURE_ENV+= varprefix=/var
MAKE_FLAGS=librpm_la_LDFLAGS='-version-info 0:1:0'
SEPARATE_BUILD= simple
.include <bsd.port.mk>