Changeset 84823


Ignore:
Timestamp:
Oct 2, 2011, 2:09:16 PM (6 years ago)
Author:
ryandesign@…
Message:

mtpaint: enable universal variant

Location:
trunk/dports/graphics/mtpaint
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/mtpaint/Portfile

    r84821 r84823  
    2626
    2727configure.args          --mandir=${prefix}/share/man/man1 \
    28                         gtk2 man cflags
    29 
    30 universal_variant       no
     28                        gtk2 man cflags ldflags
    3129
    3230variant gtk1 description "use GTK+1 instead of GTK+2" {
  • trunk/dports/graphics/mtpaint/files/patch-configure.diff

    r84821 r84823  
    11--- configure.orig      2009-04-15 13:46:26.000000000 -0500
    2 +++ configure   2011-10-02 08:46:34.000000000 -0500
    3 @@ -631,7 +631,7 @@
     2+++ configure   2011-10-02 08:54:54.000000000 -0500
     3@@ -264,6 +264,7 @@
     4                                MT_PO_DEST=$MT_LANG_DEST;;
     5                "--mandir="* )  MT_MAN_DEST="`echo "$A" | sed -e "s/--mandir=//"`";;
     6                "cflags" )      CFLAG=${CFLAGS};;
     7+               "ldflags" )     LDFLAG=${LDFLAGS};;
     8                "--cpu="* )     MARCH='-march='"`echo "$A" | sed -e "s/--cpu=//"`";;
     9                "icons"* )      ICON_SET=$A;;
     10                "386" )         MARCH='-march=i386';;
     11@@ -360,6 +361,7 @@
     12 noxft ........... Don't use Xft in MTK
     13 
     14 cflags .......... Use CFLAGS environment variable
     15+ldflags ......... Use LDFLAGS environment variable
     16 --cpu= .......... Target a specific CPU, e.g. athlon-xp, x86-64
     17 686 ............. Target 686 machines
     18 586 ............. Target 586 machines
     19@@ -595,7 +597,7 @@
     20 
     21        I_EX="$I_EX -DVERSION=\"\\\"$MT_VERSION\"\\\""
     22        GTK_INCLUDE="$GTK_INCLUDE $I_EX"
     23-       echo "LDFLAG = $L_EX $GTK_LIB" >> $GTK_FILE
     24+       echo "LDFLAG = $LDFLAG $L_EX $GTK_LIB" >> $GTK_FILE
     25 
     26        if [ "$CFLAG" ]
     27        then
     28@@ -631,7 +633,7 @@
    429        echo
    530        echo "    Version             $MT_V"
     
    1035 then
    1136        echo "MTK - $MTK_DIR"
    12 @@ -673,30 +673,30 @@
     37@@ -660,6 +662,10 @@
     38        echo "Compiler"
     39        echo "--------"
     40        echo
     41+if [ "$LDFLAG" ]
     42+then
     43+       echo "    LDFLAGS             $LDFLAG"
     44+fi
     45 if [ "$CFLAG" ]
     46 then
     47        echo "    CFLAGS              $CFLAG"
     48@@ -673,30 +679,30 @@
    1349        echo "    Debug info          $DEBUG"
    1450 if [ "$STATIC_PNG" ] || [ "$STATIC_GIF" ] || [ "$STATIC_JPEG" ] || [ "$STATIC_JP2" ] || [ "$STATIC_TIFF" ]
Note: See TracChangeset for help on using the changeset viewer.