We were not setting the flag to select the GNUstep ABI, so were defaulting to using the GCC-compatible version, which was likely to trigger a lot of subtle bugs. This was noticed when C++ exceptions thrown through Objective-C stack frames caused segfaults.
26 lines
586 B
Makefile
26 lines
586 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= plopfolio
|
|
PORTVERSION= 0.1.0
|
|
PORTREVISION= 8
|
|
CATEGORIES= deskutils gnustep
|
|
MASTER_SITES= GNUSTEP/usr-apps
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Free clone of KlipFolio for GNUstep
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= gnustep
|
|
USE_GNUSTEP= back build
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|Foundation/GSXML.h|GNUstepBase/GSXML.h|' \
|
|
${WRKSRC}/Channel.m ${WRKSRC}/PlopFolio.m \
|
|
${WRKSRC}/PreferencesPanelController.m
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/PlopFolio.app/PlopFolio
|
|
|
|
.include <bsd.port.mk>
|