View | Details | Raw Unified | Return to bug 254178 | Differences between
and this patch

Collapse All | Expand All

(-)b/x11/xscreensaver/Makefile (-4 / +14 lines)
Lines 25-32 USE_PERL5= run Link Here
25
USE_XORG=	ice sm x11 xext xi xinerama xmu xpm xrandr xrender xt xxf86vm
25
USE_XORG=	ice sm x11 xext xi xinerama xmu xpm xrandr xrender xt xxf86vm
26
USE_CSTD=	gnu99
26
USE_CSTD=	gnu99
27
CPE_VENDOR=	xscreensaver_project
27
CPE_VENDOR=	xscreensaver_project
28
# ignore error from tar due to duplicate driver/xscreensaver-command.man
29
EXTRACT_AFTER_ARGS+=	|| :
30
28
31
CONFLICTS=	xscreensaver-gnome-[0-9]* xscreensaver-gnome-hacks-[0-9]*
29
CONFLICTS=	xscreensaver-gnome-[0-9]* xscreensaver-gnome-hacks-[0-9]*
32
30
Lines 114-117 post-install: Link Here
114
	${INSTALL_DATA} ${WRKDIR}/*.desktop ${STAGEDIR}${PREFIX}/share/applications/
112
	${INSTALL_DATA} ${WRKDIR}/*.desktop ${STAGEDIR}${PREFIX}/share/applications/
115
	${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver.pam
113
	${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver.pam
116
114
117
.include <bsd.port.mk>
115
.include <bsd.port.pre.mk>
116
117
# upstream tarball contains duplicate driver/xscreensaver-command.man
118
# base tar can't handle that prior to FreeBSD 13, so use star instead
119
# on 13 and newer, it's sufficient to ignore the error
120
.if ${OSVERSION} < 1300139
121
EXTRACT_CMD=		${LOCALBASE}/bin/star
122
EXTRACT_BEFORE_ARGS=	cli=gnutar -xf
123
EXTRACT_DEPENDS=	${EXTRACT_CMD}:archivers/star
124
.else
125
EXTRACT_AFTER_ARGS+=	|| :
126
.endif
127
128
.include <bsd.port.post.mk>
118
- 

Return to bug 254178