Commits

Ryan Schmidt authored c09473aaf87
rhyme: Set include paths

Fixes build failure when /usr/include/readline doesn't exist.
No tags

textproc/rhyme/Portfile

Modified
19 19 homepage http://rhyme.sourceforge.net/
20 20 master_sites sourceforge:project/rhyme/rhyme/${version}
21 21
22 22 depends_lib port:gdbm \
23 23 port:readline \
24 24 port:ncurses
25 25
26 26 patchfiles patch-Makefile.diff
27 27
28 28 use_configure no
29 +configure.cppflags-append \
30 + -I${prefix}/include/readline
29 31
30 32 if {[vercmp [macports_version] 2.5.99] >= 0} {
31 33 build.env-append "FLAGS=${configure.cflags} [get_canonical_archflags]"
32 34 } else {
33 35 build.env-append FLAGS="${configure.cflags} [get_canonical_archflags]"
34 36 }
35 37
36 38 use_parallel_build no
37 39 build.args-append PREFIX=${prefix} \
38 - CC=${configure.cc}
40 + CC=${configure.cc} \
41 + INCLUDES="${configure.cppflags}"
39 42
40 43 destroot.args-append DESTDIR=${destroot} \
41 44 PREFIX=${prefix}
42 45
43 46 livecheck.type regex
44 47 livecheck.url http://sourceforge.net/projects/$name/files/$name/
45 48 livecheck.regex /${name}/(\[0-9.\]+)/

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut