Lines 7-14
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= libcwd |
9 |
PORTNAME= libcwd |
10 |
PORTVERSION= 0.99.40 |
10 |
PORTVERSION= 0.99.44 |
11 |
PORTREVISION= 1 |
|
|
12 |
CATEGORIES= devel |
11 |
CATEGORIES= devel |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
14 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 22-39
Link Here
|
22 |
USE_GNOME= pkgconfig |
21 |
USE_GNOME= pkgconfig |
23 |
INSTALLS_SHLIB= yes |
22 |
INSTALLS_SHLIB= yes |
24 |
USE_GETOPT_LONG=yes |
23 |
USE_GETOPT_LONG=yes |
25 |
|
24 |
USE_GCC= 3.4+ |
26 |
.include <bsd.port.pre.mk> |
|
|
27 |
|
28 |
.if ${OSVERSION} < 500035 |
29 |
USE_GCC= 3.4 |
30 |
.endif |
31 |
|
25 |
|
32 |
post-patch: |
26 |
post-patch: |
33 |
@${REINPLACE_CMD} -e 's,test x"\$$libcwd_config_alloc" = x"yes",false,g' \ |
27 |
@${REINPLACE_CMD} -e 's,test x"\$$libcwd_config_alloc" = x"yes",false,g' \ |
34 |
-E -e 's,^(DEFS=)(.*),\1"\2 -D__GNU_LIBRARY__=yes",g' \ |
28 |
-E -e 's,^(DEFS=)(.*),\1"\2 -D__GNU_LIBRARY__=yes",g' \ |
35 |
${WRKSRC}/${CONFIGURE_SCRIPT} |
29 |
${WRKSRC}/${CONFIGURE_SCRIPT} |
36 |
@${REINPLACE_CMD} -e 's,localtime(,localtime((const time_t *),g' \ |
30 |
@${REINPLACE_CMD} -e 's,localtime(,localtime((const time_t *),g' \ |
|
|
31 |
-e 's,malloc\.h,stdlib.h,g' \ |
37 |
${WRKSRC}/debugmalloc.cc |
32 |
${WRKSRC}/debugmalloc.cc |
38 |
@${REINPLACE_CMD} -E -e 's,\$$\(libdir\)/(pkgconfig),${PREFIX}/libdata/\1,g' \ |
33 |
@${REINPLACE_CMD} -E -e 's,\$$\(libdir\)/(pkgconfig),${PREFIX}/libdata/\1,g' \ |
39 |
${WRKSRC}/${MAKEFILE}.in |
34 |
${WRKSRC}/${MAKEFILE}.in |
Lines 44-47
Link Here
|
44 |
pre-configure: |
39 |
pre-configure: |
45 |
@${CP} ${LTMAIN} ${WRKSRC} |
40 |
@${CP} ${LTMAIN} ${WRKSRC} |
46 |
|
41 |
|
47 |
.include <bsd.port.post.mk> |
42 |
.include <bsd.port.mk> |