[23139] trunk/dports/gnome/evince/Portfile

Elias Pipping pipping at macports.org
Mon Mar 26 10:24:43 PDT 2007


the prefix is hardcoded into a couple of portfiles...

aqua/LyX/Portfile:    QTDIR="/opt/local" CPPFLAGS="-I/opt/local/ 
include/qt3"devel/glade3/Portfile:  ui_msg "Remember to set  
ACLOCAL_FLAGS=\"-I /opt/local/share/glade-2\""
devel/libedit/Portfile:        reinplace "s|-lncurses\"$|-L/opt/local/ 
lib -lncurses\"|" \
devel/qtcsharp/Portfile:        system "cd libqtsharp && ${prefix}/ 
bin/qmake libqtsharp.pro INSTALLDIR=/opt/local/lib CSC=cscc CLI=ilrun  
-o Makefile"
devel/qtcsharp/Portfile:        system "cd generator && ${prefix}/bin/ 
qmake generator.pro INSTALLDIR=/opt/local/lib CSC=cscc CLI=ilrun -o  
Makefile"
devel/qtcsharp/Portfile:        system "cd bindings && ${prefix}/bin/ 
qmake bindings.pro INSTALLDIR=/opt/local/lib CSC=cscc CLI=ilrun -o  
Makefile"editors/TeXmacs/Portfile:#              /opt/local/share/ 
guile/1.6).           \
games/pennmush/Portfile:        reinplace "s|GAMEDIR=|GAMEDIR=/opt/ 
local/pennmush|g" game/restart
gnome/glade/Portfile:   ui_msg "Remember to set ACLOCAL_FLAGS=\"-I / 
opt/local/share/glade-2\""
gnome/glom/Portfile:configure.args      --with-postgres-utils=/opt/ 
local/lib/postgresql81/bin \
gnome/gnucash-docs/Portfile:              installed in /opt/local/ 
share/doc/gnucash.
lang/guile/Portfile:#           DYLD_LIBRARY_PATH to /opt/local/lib  
(or wherever
lang/swi-prolog/Portfile:configure.env  LIBRARY_PATH=/opt/local/lib \
lang/swi-prolog/Portfile:               CPATH=/opt/local/include \
lang/swi-prolog/Portfile:               JUNIT=/opt/local/share/java/ 
junit.jar
lang/swi-prolog/Portfile:build.env      LIBRARY_PATH=/opt/local/lib \
lang/swi-prolog/Portfile:               CPATH=/opt/local/include \
lang/swi-prolog/Portfile:               JUNIT=/opt/local/share/java/ 
junit.jar
mail/sympa/Portfile:        system "rm /opt/local/var/${name}/spool/ 
msg/.turd_sympa"
mail/sympa/Portfile:        system "rm /opt/local/var/${name}/spool/ 
bounce/.turd_sympa"
mail/sympa/Portfile:        system "rm /opt/local/var/${name}/ 
bounce/.turd_sympa"
mail/sympa/Portfile:        system "rm /opt/local/var/${name}/ 
arc/.turd_sympa"
mail/sympa/Portfile:    FastCgiServer /opt/local/share/sympa/cgi-bin/ 
wwsympa.fcgi -processes 2
mail/vm-pop3d/Portfile: sudo /opt/local/share/vm-pop3d/vm-pop3d.init  
start (stop|status)
math/optpp/Portfile:    configure.env-append MPICC=/opt/local/lib/ 
openmpi/bin/mpicc \
math/optpp/Portfile:                             MPICXX=/opt/local/ 
lib/openmpi/bin/mpic++ \
math/optpp/Portfile:                             MPILIBS='-L/opt/ 
local/lib'
math/optpp/Portfile:    build.env MPILIBS='-L/opt/local/lib'
net/libipgeo/Portfile:configure.env     CFLAGS="-I/opt/local/include"  
LDFLAGS="-L/opt/local/lib"
ruby/rb-plruby/Portfile:configure.args-append   extconf.rb  --with- 
pgsql-include=/opt/local/include/postgresql81/ \
ruby/rb-plruby/Portfile:                                    --with- 
pgsql-lib=/opt/local/lib/postgresql81/ \
security/pinentry/Portfile:        configure.env-append QTDIR=/opt/ 
local/lib MOC=/opt/local/bin/moc
security/pinentry/Portfile:                --with-qt-includes=/opt/ 
local/include/qt3 \
security/pinentry/Portfile:                --with-qt-libraries=/opt/ 
local/lib
www/alphamail/Portfile:configure.env     CXXFLAGS="-I/opt/local/ 
include" LDFLAGS="-L/opt/local/lib"


Regards,

Elias

On Mar 26, 2007, at 7:02 PM, Juan Manuel Palacios wrote:

>
> 	Hey Randall! One question about this commit:
>
> On Mar 26, 2007, at 5:47 AM, source_changes at macosforge.org wrote:
>
>> Revision
>> 23139
>> Author
>> rhwood at macports.org
>> Date
>> 2007-03-26 02:47:49 -0700 (Mon, 26 Mar 2007)
>>
>> Log Message
>> Upgrade to version 0.8.0
>> Claim joint maintainership with openmaintainer@
>> Correct dependencies based on trace output
>> Add recommended command to post-activate from the build logs
>> Whitespace changes
>> Fix some configuration settings
>>
>> Modified Paths
>> 	• 	trunk/dports/gnome/evince/Portfile
>
>
> ---snip---
>
>>
>>
>>  post-activate  {
>> -       system "scrollkeeper-update"
>> +    system "scrollkeeper-update"
>> +    system "gtk-update-icon-cache -f -t /opt/local/share/icons/ 
>> hicolor"
>>  }
>>
>
> 	Why hardcode /opt/local here and not use ${prefix} instead?
>
>
> -jmpp
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-dev




More information about the macports-dev mailing list