Ignore:
Timestamp:
Apr 8, 2009, 10:55:27 PM (10 years ago)
Author:
jmr@…
Message:

btrfs-progs: reinplace with $prefix instead of hardcoding /opt/local in a patch, and also replace gcc with ${configure.cc}

Location:
trunk/dports/sysutils/btrfs-progs
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/btrfs-progs/Portfile

    r49392 r49394  
    3434                patch-btrfsck.c.diff \
    3535                patch-mkfs.c.diff \
    36                 patch-btrfs-image.c.diff \
    37                 patch-Makefile.diff
     36                patch-btrfs-image.c.diff
     37
     38post-patch {
     39    reinplace "s|CC=gcc|CC=${configure.cc}|g" \
     40        ${worksrcpath}/Makefile
     41    reinplace "s|prefix ?= /usr/local|prefix = ${prefix}|g" \
     42        ${worksrcpath}/Makefile
     43}
    3844
    3945use_configure   no
Note: See TracChangeset for help on using the changeset viewer.