# $OpenBSD: Makefile,v 1.9 2001/11/01 01:27:55 brad Exp $ COMMENT= "getopt(3)-like library with a number of enhancements" DISTNAME= popt-1.5.1 CATEGORIES= devel NEED_VERSION= 1.475 MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/ MODULES= gettext PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MAKE_FLAGS= libpopt_la_LDFLAGS="-version-info 0:1:0" WRKDIST= ${WRKDIR}/popt-1.5 SEPARATE_BUILD= concurrent CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= ${CONFIGURE_SHARED} CONFIGURE_ARGS+= --enable-static CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig \ ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh \ patch-* .include