diff --git a/devel/libbinio/Makefile b/devel/libbinio/Makefile index e974784ca05f..37ed4e48083c 100644 --- a/devel/libbinio/Makefile +++ b/devel/libbinio/Makefile @@ -1,27 +1,33 @@ PORTNAME= libbinio PORTVERSION= 1.5 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= devel MAINTAINER= ehaupt@FreeBSD.org COMMENT= Binary I/O stream class library WWW= https://adplug.github.io/libbinio/ LICENSE= LGPL21 USES= autoreconf compiler:c11 libtool pathfix USE_GITHUB= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes GH_ACCOUNT= adplug INSTALL_TARGET= install-strip PORTSCOUT= skipv:start +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Dregister= +.endif + post-patch: @${REINPLACE_CMD} -e 's|^\(SUBDIRS\ =\).*|\1 src|' ${WRKSRC}/Makefile.am .include