Ignore:
Timestamp:
Aug 22, 2016, 3:31:05 AM (2 years ago)
Author:
ryandesign@…
Message:

sunwait: use the right compiler and -arch flags and add universal variant

Location:
trunk/dports/sysutils/sunwait
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/sunwait/Portfile

    r149547 r151789  
    55
    66name                sunwait
     7epoch               1
    78version             0.8
    8 epoch               1
     9revision            1
    910set dlversion       [string range [subst [regsub -all {\.} "${version}" {-}]] 0 3]
    1011categories          sysutils
     
    4041use_configure       no
    4142
     43variant universal {}
     44
     45build.args          C="${configure.cxx} [get_canonical_archflags cxx]"
    4246build.target        sunwait
    4347
  • trunk/dports/sysutils/sunwait/files/patch-makefile.diff

    r148366 r151789  
    11--- makefile.orig       2015-06-01 08:25:41.000000000 -0500
    2 +++ makefile    2016-05-05 09:55:42.000000000 -0500
    3 @@ -8,7 +8,7 @@
    4  C=gcc
     2+++ makefile    2016-08-21 22:25:19.000000000 -0500
     3@@ -5,10 +5,10 @@
     4 #
     5 
     6 
     7-C=gcc
     8+C=g++
    59 CFLAGS=-c -Wall
    6  LDFLAGS= -lm -lstdc++
     10-LDFLAGS= -lm -lstdc++
    711-SOURCES=sunwait.cpp sunriset.cpp print.cpp sunwait.h sunriset.h print.h
     12+LDFLAGS= -lm
    813+SOURCES=sunwait.cpp sunriset.cpp print.cpp
    914 OBJECTS=$(SOURCES:.cpp=.o)
Note: See TracChangeset for help on using the changeset viewer.