Lines 13-20
Link Here
|
13 |
|
13 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
15 |
|
15 |
|
16 |
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ |
16 |
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ |
17 |
png.5:${PORTSDIR}/graphics/png \ |
|
|
18 |
tiff.4:${PORTSDIR}/graphics/tiff \ |
17 |
tiff.4:${PORTSDIR}/graphics/tiff \ |
19 |
forms.1:${PORTSDIR}/x11-toolkits/xforms |
18 |
forms.1:${PORTSDIR}/x11-toolkits/xforms |
20 |
|
19 |
|
Lines 30-37
Link Here
|
30 |
|
29 |
|
31 |
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include \ |
30 |
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include \ |
32 |
-I${X11BASE}/include/X11 ${PTHREAD_CFLAGS} |
31 |
-I${X11BASE}/include/X11 ${PTHREAD_CFLAGS} |
33 |
LDFLAGS= -L${LOCALBASE}/lib -lgnugetopt -L${X11BASE}/lib \ |
32 |
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS} |
34 |
${PTHREAD_LIBS} |
|
|
35 |
|
33 |
|
36 |
.include <bsd.port.pre.mk> |
34 |
.include <bsd.port.pre.mk> |
37 |
|
35 |
|
Lines 39-45
Link Here
|
39 |
CFLAGS+= -DMIX_ANSI_IOSTREAMS -fpermissive |
37 |
CFLAGS+= -DMIX_ANSI_IOSTREAMS -fpermissive |
40 |
.endif |
38 |
.endif |
41 |
|
39 |
|
42 |
post-extact: |
40 |
.if !exists(/usr/include/getopt.h) |
|
|
41 |
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt |
42 |
LDFLAGS+= -lgnugetopt |
43 |
.endif |
44 |
|
45 |
post-extract: |
43 |
@${RM} -f ${WRKSRC}/mixkit/src/getopt.h |
46 |
@${RM} -f ${WRKSRC}/mixkit/src/getopt.h |
44 |
|
47 |
|
45 |
post-patch: |
48 |
post-patch: |