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

(-)Makefile (-1 / +2 lines)
Lines 14-20 Link Here
14
MAINTAINER=	gkovesdan@t-hosting.hu
14
MAINTAINER=	gkovesdan@t-hosting.hu
15
COMMENT=	A tool to chroot softwares easily
15
COMMENT=	A tool to chroot softwares easily
16
16
17
GNU_CONFIGURE=YES
17
GNU_CONFIGURE=	YES
18
18
19
MAN1=		chroot_safe.1
19
MAN1=		chroot_safe.1
20
PLIST_FILES=	sbin/chroot_safe libexec/chroot_safe/chroot_safe.so
20
PLIST_FILES=	sbin/chroot_safe libexec/chroot_safe/chroot_safe.so
Lines 23-28 Link Here
23
post-patch:
23
post-patch:
24
	${REINPLACE_CMD} -e  's|CXX=g++|CXX?=c++|' \
24
	${REINPLACE_CMD} -e  's|CXX=g++|CXX?=c++|' \
25
		-e 's|-o chroot_safe.so|chroot_safe.cpp -o chroot_safe.so|' \
25
		-e 's|-o chroot_safe.so|chroot_safe.cpp -o chroot_safe.so|' \
26
		-e 's|prefix=@prefix@|prefix=${DESTDIR}@prefix@|' \
26
		${WRKSRC}/Makefile.in
27
		${WRKSRC}/Makefile.in
27
	${REINPLACE_CMD} 's|chroot(1)|chroot(8)|' ${WRKSRC}/chroot_safe.1.in
28
	${REINPLACE_CMD} 's|chroot(1)|chroot(8)|' ${WRKSRC}/chroot_safe.1.in
28
	${REINPLACE_CMD} 's|putenv|unsetenv|' ${WRKSRC}/chroot_safe.cpp
29
	${REINPLACE_CMD} 's|putenv|unsetenv|' ${WRKSRC}/chroot_safe.cpp

Return to bug 101429