# Created by: Joe Marcus Clarke # $FreeBSD: head/x11-toolkits/gnome-pty-helper/Makefile 412351 2016-04-01 14:33:55Z mat $ PORTNAME= gnome-pty-helper PORTVERSION= 0.40.2 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME/sources/vte/${PORTVERSION:R} DISTNAME= vte-${PORTVERSION} DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= utmp/wtmp/lastlog helper program for the vte Terminal widget BUILD_DEPENDS+= gnutls>=0:security/gnutls PORTSCOUT= ignore:1 USES= gmake tar:xz USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip CONFIGURE_WRKSRC= ${WRKSRC}/gnome-pty-helper BUILD_WRKSRC= ${WRKSRC}/gnome-pty-helper INSTALL_WRKSRC= ${WRKSRC}/gnome-pty-helper .include post-patch: # borrowed osversion from bsd.ssp.mk .if ${OSVERSION} < 1000036 && ${ARCH} == i386 @${REINPLACE_CMD} -e 's|-fstack-protector-strong||g; \ s|-fstack-protector||g' \ ${WRKSRC}/configure .endif @${REINPLACE_CMD} -e 's|(AM_MAKEFLAGS) install-exec-hook|(AM_MAKEFLAGS)|g' \ ${WRKSRC}/gnome-pty-helper/Makefile.in .include