# $OpenBSD: Makefile,v 1.11 2002/12/29 20:19:12 fgsch Exp $ COMMENT= "getopt(3)-like library with a number of enhancements" DISTNAME= popt-1.5.1 CATEGORIES= devel MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/ \ ftp://ftp.mirror.ac.uk/sites/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