View | Details | Raw Unified | Return to bug 124941
Collapse All | Expand All

(-)Makefile (-9 / +1 lines)
Lines 18-31 Link Here
18
18
19
PLIST_FILES=	bin/unmakeself
19
PLIST_FILES=	bin/unmakeself
20
20
21
.include <bsd.port.pre.mk>
22
23
.if ${OSVERSION} < 502103
24
BUILD_DEPENDS+=	${LOCALBASE}/lib/libarchive.a:${PORTSDIR}/archivers/libarchive
25
CPPFLAGS+=	-I${LOCALBASE}/include
26
LDFLAGS+=	-L${LOCALBASE}/lib
27
.endif
28
29
do-configure:
21
do-configure:
30
	@${RM} -f ${WRKSRC}/config.h
22
	@${RM} -f ${WRKSRC}/config.h
31
	@if ${GREP} -q memmem /usr/include/string.h; then \
23
	@if ${GREP} -q memmem /usr/include/string.h; then \
Lines 41-44 Link Here
41
do-install:
33
do-install:
42
	${INSTALL_PROGRAM} ${WRKSRC}/unmakeself ${PREFIX}/bin
34
	${INSTALL_PROGRAM} ${WRKSRC}/unmakeself ${PREFIX}/bin
43
35
44
.include <bsd.port.post.mk>
36
.include <bsd.port.mk>

Return to bug 124941