Ignore:
Timestamp:
Jan 20, 2005, 12:12:28 AM (15 years ago)
Author:
matt
Message:

Submitted by: toby@
Reviewed by: matt@
Approved by: matt@

Make use of a fairly unique string instead of /opt/local

Location:
trunk/dports/textproc/html2text
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/html2text/Portfile

    r10304 r10489  
    1 # $Id: Portfile,v 1.2 2005/01/10 12:04:21 matt Exp $
     1# $Id: Portfile,v 1.3 2005/01/20 00:12:28 matt Exp $
    22
    33PortSystem 1.0
     
    2525patchfiles              patch-configure.diff
    2626
    27 pre-configure           { reinplace "s|/opt/local|${prefix}|" ${worksrcpath}/configure }
     27pre-configure           { reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/configure }
    2828
    2929configure.env           CC="gcc3" \
  • trunk/dports/textproc/html2text/files/patch-configure.diff

    r10303 r10489  
    66 CXX=unknown;
    77-for i in "CC" "g++" "cc" "$CC"; do
    8 +for i in "c++ -no-cpp-precomp -isystem /opt/local/include -DAUTO_PTR_BROKEN=1" "CC" "g++"; do
     8+for i in "c++ -no-cpp-precomp -isystem __PREFIX__/include -DAUTO_PTR_BROKEN=1" "CC" "g++"; do
    99   if $i -c $tmp_file.C 2>/dev/null; then
    1010     CXX="$i";
Note: See TracChangeset for help on using the changeset viewer.