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

(-)Makefile (-3 / +7 lines)
Lines 20-27 Link Here
20
DOCS=		INSTALL LICENSE README
20
DOCS=		INSTALL LICENSE README
21
PKGMESSAGE=	${WRKDIR}/pkg-message
21
PKGMESSAGE=	${WRKDIR}/pkg-message
22
22
23
MAKE_ENV+=	CPPFLAGS="-DPREFIX=\\\"${PREFIX}\\\""
24
25
post-patch:
23
post-patch:
26
	${REINPLACE_CMD} -i.bak -e 's|varargs.h|stdarg.h|' \
24
	${REINPLACE_CMD} -i.bak -e 's|varargs.h|stdarg.h|' \
27
		${WRKSRC}/chkmodules.h \
25
		${WRKSRC}/chkmodules.h \
Lines 50-53 Link Here
50
.endfor
48
.endfor
51
.endif
49
.endif
52
50
53
.include <bsd.port.mk>
51
.include <bsd.port.pre.mk>
52
.if ${ARCH} == "amd64"
53
MAKE_ENV+=	CPPFLAGS="-DPREFIX=\\\"${PREFIX}\\\" -fPIC"
54
.else
55
MAKE_ENV+=	CPPFLAGS="-DPREFIX=\\\"${PREFIX}\\\""
56
.endif
57
.include <bsd.port.post.mk>
(-)files/patch-modules_check::Makefile (-3 / +3 lines)
Lines 1-5 Link Here
1
--- modules_check/Makefile.orig	Mon Nov 26 07:31:09 2001
1
--- modules_check/Makefile.orig	Sun Nov 25 17:31:09 2001
2
+++ modules_check/Makefile	Tue May 14 14:16:16 2002
2
+++ modules_check/Makefile	Sat Feb 21 14:25:58 2004
3
@@ -1,14 +1,15 @@
3
@@ -1,14 +1,15 @@
4
 # If you want to debug lmd comment out this line and recompile it
4
 # If you want to debug lmd comment out this line and recompile it
5
 # Launch lmd with -v option to see debug messages
5
 # Launch lmd with -v option to see debug messages
Lines 16-22 Link Here
16
 
16
 
17
 socket.o:
17
 socket.o:
18
-	gcc -c ../socket.c -o socket.o
18
-	gcc -c ../socket.c -o socket.o
19
+	${CC} -c ../socket.c -o socket.o
19
+	${CC} ${OPTS} -c ../socket.c -o socket.o
20
 
20
 
21
 clean:
21
 clean:
22
 	rm *.so *.o
22
 	rm *.so *.o

Return to bug 63183