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

(-)ida/Makefile (-8 / +9 lines)
Lines 18-29 Link Here
18
		png.5:${PORTSDIR}/graphics/png \
18
		png.5:${PORTSDIR}/graphics/png \
19
		tiff.4:${PORTSDIR}/graphics/tiff \
19
		tiff.4:${PORTSDIR}/graphics/tiff \
20
		ungif.5:${PORTSDIR}/graphics/libungif
20
		ungif.5:${PORTSDIR}/graphics/libungif
21
.if defined(WITH_PCD)
22
LIB_DEPENDS+=	pcd.2:${PORTSDIR}/graphics/libpcd
23
.endif
21
24
22
USE_GMAKE=	yes
25
USE_GMAKE=	yes
23
USE_X_PREFIX=	yes
26
USE_X_PREFIX=	yes
24
USE_MOTIF=	yes
27
USE_MOTIF=	yes
25
USE_PERL5_BUILD=yes
28
USE_PERL5_BUILD=yes
26
USE_REINPLACE=	yes
27
WRKSRC=		${WRKDIR}/${DISTNAME:S/_/-/}
29
WRKSRC=		${WRKDIR}/${DISTNAME:S/_/-/}
28
MAKEFILE=	${WRKSRC}/GNUmakefile
30
MAKEFILE=	${WRKSRC}/GNUmakefile
29
31
Lines 32-43 Link Here
32
34
33
PLIST_FILES=	bin/ida lib/X11/app-defaults/Ida
35
PLIST_FILES=	bin/ida lib/X11/app-defaults/Ida
34
36
35
.include <bsd.port.pre.mk>
37
.if !defined(WITH_PCD)
36
38
pre-fetch:
37
post-patch:
39
	@${ECHO}
38
.if ${OSVERSION} < 500000
40
	@${ECHO} "- WITH_PCD - build with PhotoCD images support"
39
	@${REINPLACE_CMD} -e 's|PRId32|"d"|g' -e 's|PRIx32|"x"|g' \
41
	@${ECHO}
40
		${WRKSRC}/tiff.c ${WRKSRC}/xwd.c
41
.endif
42
.endif
42
43
43
.if !defined(NOPORTDOCS)
44
.if !defined(NOPORTDOCS)
Lines 48-51 Link Here
48
.endfor
49
.endfor
49
.endif
50
.endif
50
51
51
.include <bsd.port.post.mk>
52
.include <bsd.port.mk>
(-)ida/files/patch-loader.h (+13 lines)
Line 0 Link Here
1
--- loader.h.old	Sun Aug 22 00:07:12 2004
2
+++ loader.h	Sun Aug 22 00:10:29 2004
3
@@ -1,4 +1,10 @@
4
 #include "list.h"
5
+#ifndef PRId32
6
+#define PRId32 "d"
7
+#endif
8
+#ifndef PRIx32
9
+#define PRIx32 "x"
10
+#endif
11
 #ifdef USE_X11
12
 # include <X11/Intrinsic.h>
13
 #endif

Return to bug 70879