Lines 10-19
Link Here
|
10 |
MAINTAINER= bdrewery@FreeBSD.org |
10 |
MAINTAINER= bdrewery@FreeBSD.org |
11 |
COMMENT= Library that makes it easy for programs to use privilege separation |
11 |
COMMENT= Library that makes it easy for programs to use privilege separation |
12 |
|
12 |
|
13 |
LICENSE= BSD |
13 |
LICENSE= BSD3CLAUSE |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
|
15 |
|
16 |
USE_AUTOTOOLS= libtool |
16 |
USE_AUTOTOOLS= libtoolize aclocal autoconf automake |
|
|
17 |
AUTOMAKE_ARGS= --add-missing |
18 |
USES= libtool |
19 |
GNU_CONFIGURE= yes |
17 |
USE_LDCONFIG= yes |
20 |
USE_LDCONFIG= yes |
18 |
|
21 |
|
19 |
post-patch: |
22 |
post-patch: |
Lines 20-32
Link Here
|
20 |
@${REINPLACE_CMD} \ |
23 |
@${REINPLACE_CMD} \ |
21 |
-e 's|$$(PACKAGE).d|$$(PACKAGE)|g' \ |
24 |
-e 's|$$(PACKAGE).d|$$(PACKAGE)|g' \ |
22 |
-e 's|$$(sysconfdir)/$$(PACKAGE)|$$(DESTDIR)$$(sysconfdir)/$$(PACKAGE)|' \ |
25 |
-e 's|$$(sysconfdir)/$$(PACKAGE)|$$(DESTDIR)$$(sysconfdir)/$$(PACKAGE)|' \ |
23 |
${WRKSRC}/etc/Makefile.in |
26 |
${WRKSRC}/etc/Makefile.am |
24 |
@${REINPLACE_CMD} -e \ |
27 |
@${REINPLACE_CMD} -e \ |
25 |
'/^CFLAGS/s|-O2 -g|@CFLAGS@| ; \ |
28 |
'/^CFLAGS/s|-O2 -g|@CFLAGS@| ; \ |
26 |
/^CXXFLAGS/s|-O2 -g|@CXXFLAGS@| ; \ |
29 |
/^CXXFLAGS/s|-O2 -g|@CXXFLAGS@| ; \ |
27 |
s|@PACKAGE@.d|@PACKAGE@| ; \ |
30 |
s|@PACKAGE@.d|@PACKAGE@| ; \ |
28 |
s|-lstdc++||' ${WRKSRC}/src/Makefile.in |
31 |
s|-lstdc++||' ${WRKSRC}/src/Makefile.am |
29 |
@${REINPLACE_CMD} -e \ |
32 |
@${REINPLACE_CMD} -e \ |
30 |
'/^CFLAGS/s|-O2 -g|@CFLAGS@|' ${WRKSRC}/tests/Makefile.in |
33 |
'/^CFLAGS/s|-O2 -g|@CFLAGS@|' ${WRKSRC}/tests/Makefile.am |
31 |
|
34 |
|
32 |
.include <bsd.port.mk> |
35 |
.include <bsd.port.mk> |