Lines 33-46
Link Here
|
33 |
USE_GMAKE= yes |
33 |
USE_GMAKE= yes |
34 |
GNU_CONFIGURE= yes |
34 |
GNU_CONFIGURE= yes |
35 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
35 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
36 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
36 |
CONFIGURE_ENV= CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
37 |
ALL_TARGET= ALL |
37 |
ALL_TARGET= ALL |
38 |
|
38 |
|
39 |
MAN1= zsnes.1 |
39 |
MAN1= zsnes.1 |
40 |
PLIST_FILES= bin/zsnes |
40 |
PLIST_FILES= bin/zsnes |
41 |
|
41 |
|
42 |
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include |
42 |
CFLAGS+= -I${LOCALBASE}/include |
43 |
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib |
43 |
CPPFLAGS+= -I${LOCALBASE}/include |
|
|
44 |
LDFLAGS+= -L${LOCALBASE}/lib |
44 |
|
45 |
|
45 |
.include <bsd.port.pre.mk> |
46 |
.include <bsd.port.pre.mk> |
46 |
|
47 |
|
Lines 49-54
Link Here
|
49 |
PKGNAMESUFFIX= -nox11 |
50 |
PKGNAMESUFFIX= -nox11 |
50 |
.else |
51 |
.else |
51 |
CONFIGURE_ARGS+=--with-x |
52 |
CONFIGURE_ARGS+=--with-x |
|
|
53 |
CFLAGS+= -I${X11BASE}/include |
54 |
CPPFLAGS+= -I${X11BASE}/include |
55 |
LDFLAGS+= -L${X11BASE}/lib |
52 |
.endif |
56 |
.endif |
53 |
|
57 |
|
54 |
.if defined(WITH_OPENGL) |
58 |
.if defined(WITH_OPENGL) |
Lines 62-67
Link Here
|
62 |
@${REINPLACE_CMD} -e \ |
66 |
@${REINPLACE_CMD} -e \ |
63 |
's| -pipe||g ; \ |
67 |
's| -pipe||g ; \ |
64 |
s| -I/usr/local/include||g ; \ |
68 |
s| -I/usr/local/include||g ; \ |
|
|
69 |
s|^VERSION=1.41|VERSION=${PORTVERSION}|; \ |
70 |
s| -D__FreeBSD__||g; \ |
65 |
s| -I/usr/include||g ; \ |
71 |
s| -I/usr/include||g ; \ |
66 |
s| -O3 .* -s||g' ${WRKSRC}/configure |
72 |
s| -O3 .* -s||g' ${WRKSRC}/configure |
67 |
@${REINPLACE_CMD} -e \ |
73 |
@${REINPLACE_CMD} -e \ |