Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108330086
D21397.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D21397.diff
View Options
Index: head/lang/maude/Makefile
===================================================================
--- head/lang/maude/Makefile
+++ head/lang/maude/Makefile
@@ -19,13 +19,12 @@
libgmp.so:math/gmp \
libsigsegv.so:devel/libsigsegv
-USES= alias autoreconf bison ncurses
+USES= alias autoreconf bison compiler:c++11-lang localbase:ldflags \
+ ncurses
WRKSRC= ${WRKDIR}/maude-${PORTVERSION}
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${NCURSESINC} -I${LOCALBASE}/include
-LDFLAGS+= -L${NCURSESLIB} -L${LOCALBASE}/lib
CONFIGURE_ARGS= --datadir=${DATADIR}
MAKE_JOBS_UNSAFE= yes
@@ -40,8 +39,13 @@
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+.if ${NCURSESLIB} != /usr/lib
+CPPFLAGS+= -I${NCURSESINC}
+LDFLAGS+= -L${NCURSESLIB}
+.endif
+
.if ${PORT_OPTIONS:MFULL_MAUDE}
MASTER_SITES+= http://maude.cs.illinois.edu/w/images/c/ca/:fm
FULL_MAUDE= full-maude.maude
@@ -71,4 +75,4 @@
post-install-FULL_MAUDE-on:
${INSTALL_DATA} ${WRKDIR}/${FULL_MAUDE} ${STAGEDIR}${DATADIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 24, 10:17 PM (20 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16106822
Default Alt Text
D21397.diff (1 KB)
Attached To
Mode
D21397: lang/maude: fix build on GCC architectures
Attached
Detach File
Event Timeline
Log In to Comment